File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,11 +29,12 @@ script:
2929 - |
3030 set -e
3131 if [[ -z "$TRAVIS_TAG" ]]; then
32- python -m doctr deploy --build-tags --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ dev
32+ DEPLOY_DIR= dev
3333 else
34- python -m doctr deploy --build-tags --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ "version-$TRAVIS_TAG"
35- python -m doctr deploy --build-tags --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ .
34+ DEPLOY_DIR="version-$TRAVIS_TAG"
3635 fi
36+ python -m doctr deploy --build-tags --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ $DEPLOY_DIR
37+ python -m doctr deploy --build-tags --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ .
3738
3839doctr :
3940 require-master : true
You can’t perform that action at this time.
0 commit comments