File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,15 +27,12 @@ install:
2727
2828script :
2929 - |
30- if [[ -z "$TRAVIS_TAG" ]]; then
31- DEPLOY_DIR=dev
32- else
33- DEPLOY_DIR="$TRAVIS_TAG"
30+ if [[ -n "$TRAVIS_TAG" ]]; then
31+ python -m doctr deploy --build-tags --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ "$TRAVIS_TAG"
3432 fi
3533
3634 if [[ "${TRAVIS_BRANCH}" == "source" ]]; then
3735 python -m doctr deploy --branch-whitelist source --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ .
3836 elif [[ "${TRAVIS_BRANCH}" == "draft" ]]; then
3937 python -m doctr deploy --branch-whitelist draft --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ draft
4038 fi
41- python -m doctr deploy --branch-whitelist draft --build-tags --key-path github_deploy_key_oceanhackweek_oceanhackweek_github_io.enc --built-docs _site/ $DEPLOY_DIR
You can’t perform that action at this time.
0 commit comments