File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ pipeline:
7777 commands :
7878 - ./project/scripts/genDocs
7979 secrets : [ bot_token ]
80- # when:
81- # event: push
82- # # We only generate the documentation for the master branch
83- # branch: master
80+ when :
81+ event : push
82+ # We only generate the documentation for the master branch
83+ branch : master
8484
8585 # PUBLISHING:
8686 # Publishing expect NIGHTLYBUILD or RELEASEBUILD to be set. See dottyVersion in Build.scala
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ shopt -s extglob
1111# make sure that BOT_TOKEN is set
1212if [ -z " $BOT_TOKEN " ]; then
1313 echo " Error: BOT_TOKEN env unset, unable to push without password" 1>&2
14- # exit 1
14+ exit 1
1515fi
1616
1717echo " Working directory: $PWD "
2929# save current head for commit message in gh-pages
3030GIT_HEAD=$( git rev-parse HEAD)
3131
32- exit 0
3332
3433# set up remote and github credentials
3534git remote add doc-remote " https://dotty-bot:$BOT_TOKEN @github.com/lampepfl/dotty-website.git"
You can’t perform that action at this time.
0 commit comments