Skip to content

Commit 8fbeaa8

Browse files
committed
Debug deployment script issues
This prints some more information during the docs deployment.
1 parent 4015395 commit 8fbeaa8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ SHA=$(git rev-parse --verify HEAD)
1818
git checkout $TARGET_BRANCH
1919
)
2020

21-
# Remove the current doc for master
21+
echo "Removing the current docs for master"
2222
rm -rf out/master/ || exit 0
2323

24-
# Make the doc for master
24+
echo "Making the docs for master"
2525
mkdir out/master/
2626
cp util/gh-pages/index.html out/master
2727
python ./util/export.py out/master/lints.json
2828

29-
# Save the doc for the current tag and point current/ to it
3029
if [ -n "$TRAVIS_TAG" ]; then
30+
echo "Save the doc for the current tag ($TRAVIS_TAG) and point current/ to it"
3131
cp -r out/master "out/$TRAVIS_TAG"
3232
rm -f out/current
3333
ln -s "$TRAVIS_TAG" out/current

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ before_install:
2222
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
2323
rvm get stable
2424
fi
25+
- echo "TRAVIS_BRANCH:"
26+
- echo $TRAVIS_BRANCH
2527
2628
install:
2729
- . $HOME/.nvm/nvm.sh

0 commit comments

Comments
 (0)