We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68db61b commit 5357048Copy full SHA for 5357048
.travis.yml
@@ -81,14 +81,18 @@ script:
81
fi
82
83
- if [[ $TEST_TARGET == 'docs' ]]; then
84
+ - if [[ -z "$TRAVIS_TAG" ]]; then
85
+ DEPLOY_DIR=dev;
86
+ else
87
+ DEPLOY_DIR="version-$TRAVIS_TAG";
88
+ fi
89
set -e ;
90
conda install doctr ;
91
cp examples/Quickstart.ipynb docs/quickstart.ipynb ;
92
pushd docs ;
93
make clean html linkcheck ;
94
popd ;
- python -m doctr deploy --sync .;
- python -m doctr deploy --sync --no-require-master --built-docs docs/_build/html "docs-$TRAVIS_BRANCH" ;
95
+ python -m doctr deploy --build-tags --key-path github_deploy_key.enc --built-docs docs/_build/html/ $DEPLOY_DIR
96
97
98
doctr:
0 commit comments