File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,18 @@ jobs:
3232 - brew install sourcekitten
3333 - gem install -N jazzy
3434 before_deploy :
35- # Necessary for correct SourceKitten processing.
36- - swift build
37- # Build Carthage archive.
38- - carthage build --no-skip-current
39- - carthage archive BitByteData
40- # Generate documentation.
41- - sourcekitten doc --spm-module BitByteData > docs.json
42- - jazzy
35+ - >
36+ if ! [ "$BEFORE_DEPLOY_RUN" ]; then
37+ export BEFORE_DEPLOY_RUN=1;
38+ # Necessary for correct SourceKitten processing.
39+ swift build
40+ # Build Carthage archive.
41+ carthage build --no-skip-current
42+ carthage archive BitByteData
43+ # Generate documentation.
44+ sourcekitten doc --spm-module BitByteData > docs.json
45+ jazzy
46+ fi
4347 deploy :
4448 - provider : releases
4549 skip_cleanup : true
You can’t perform that action at this time.
0 commit comments