Skip to content

Commit 498d862

Browse files
authored
Merge pull request #2659 from phansch/debug_deployment_issues
Debug deployment script issues
2 parents c067bc3 + bdba9c1 commit 498d862

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/deploy.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Automatically deploy on gh-pages
33

44
set -e
5+
set -x
56

67
SOURCE_BRANCH="master"
78
TARGET_BRANCH="gh-pages"
@@ -18,16 +19,16 @@ SHA=$(git rev-parse --verify HEAD)
1819
git checkout $TARGET_BRANCH
1920
)
2021

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

24-
# Make the doc for master
25+
echo "Making the docs for master"
2526
mkdir out/master/
2627
cp util/gh-pages/index.html out/master
2728
python ./util/export.py out/master/lints.json
2829

29-
# Save the doc for the current tag and point current/ to it
3030
if [ -n "$TRAVIS_TAG" ]; then
31+
echo "Save the doc for the current tag ($TRAVIS_TAG) and point current/ to it"
3132
cp -r out/master "out/$TRAVIS_TAG"
3233
rm -f out/current
3334
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)