File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
# Automatically deploy on gh-pages
3
3
4
4
set -e
5
+ set -x
5
6
6
7
SOURCE_BRANCH=" master"
7
8
TARGET_BRANCH=" gh-pages"
@@ -18,16 +19,16 @@ SHA=$(git rev-parse --verify HEAD)
18
19
git checkout $TARGET_BRANCH
19
20
)
20
21
21
- # Remove the current doc for master
22
+ echo " Removing the current docs for master"
22
23
rm -rf out/master/ || exit 0
23
24
24
- # Make the doc for master
25
+ echo " Making the docs for master"
25
26
mkdir out/master/
26
27
cp util/gh-pages/index.html out/master
27
28
python ./util/export.py out/master/lints.json
28
29
29
- # Save the doc for the current tag and point current/ to it
30
30
if [ -n " $TRAVIS_TAG " ]; then
31
+ echo " Save the doc for the current tag ($TRAVIS_TAG ) and point current/ to it"
31
32
cp -r out/master " out/$TRAVIS_TAG "
32
33
rm -f out/current
33
34
ln -s " $TRAVIS_TAG " out/current
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ before_install:
22
22
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
23
23
rvm get stable
24
24
fi
25
+ - echo "TRAVIS_BRANCH:"
26
+ - echo $TRAVIS_BRANCH
25
27
26
28
install :
27
29
- . $HOME/.nvm/nvm.sh
You can’t perform that action at this time.
0 commit comments