File tree 2 files changed +5
-6
lines changed 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ pipeline:
77
77
commands :
78
78
- ./project/scripts/genDocs
79
79
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
84
84
85
85
# PUBLISHING:
86
86
# 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
11
11
# make sure that BOT_TOKEN is set
12
12
if [ -z " $BOT_TOKEN " ]; then
13
13
echo " Error: BOT_TOKEN env unset, unable to push without password" 1>&2
14
- # exit 1
14
+ exit 1
15
15
fi
16
16
17
17
echo " Working directory: $PWD "
29
29
# save current head for commit message in gh-pages
30
30
GIT_HEAD=$( git rev-parse HEAD)
31
31
32
- exit 0
33
32
34
33
# set up remote and github credentials
35
34
git 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