diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-04-11 08:07:21 +0200 |
|---|---|---|
| committer | Philipp Hansch <dev@phansch.net> | 2018-04-11 08:13:59 +0200 |
| commit | 8fbeaa81d8c25cdf3c8eca34f287762d73b23a41 (patch) | |
| tree | 3d5f1e44dee20c3df354c4872b316e58ae07c3fd /.github/deploy.sh | |
| parent | 4015395888308a4496f6931e66c492f672e3663f (diff) | |
Debug deployment script issues
This prints some more information during the docs deployment.
Diffstat (limited to '.github/deploy.sh')
| -rwxr-xr-x | .github/deploy.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/deploy.sh b/.github/deploy.sh index 8f6abc93ecf..17eb35b4649 100755 --- a/.github/deploy.sh +++ b/.github/deploy.sh @@ -18,16 +18,16 @@ SHA=$(git rev-parse --verify HEAD) git checkout $TARGET_BRANCH ) -# Remove the current doc for master +echo "Removing the current docs for master" rm -rf out/master/ || exit 0 -# Make the doc for master +echo "Making the docs for master" mkdir out/master/ cp util/gh-pages/index.html out/master python ./util/export.py out/master/lints.json -# Save the doc for the current tag and point current/ to it if [ -n "$TRAVIS_TAG" ]; then + echo "Save the doc for the current tag ($TRAVIS_TAG) and point current/ to it" cp -r out/master "out/$TRAVIS_TAG" rm -f out/current ln -s "$TRAVIS_TAG" out/current |
