File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,8 @@ install:
1717script :
1818 - sbt makeMicrosite
1919
20- deploy :
21- - provider : script
22- script : ./deploy-microsite.sh
23- skip_cleanup : true
24- on :
25- branch : typelevel-readme
20+ after_success :
21+ - ./deploy-microsite.sh
2622
2723cache :
2824 directories :
Original file line number Diff line number Diff line change 22
33set -e
44
5- 6- GIT_NAME=" Typelevel Bot"
5+ if [ " $TRAVIS_BRANCH " = " typelevel-readme" -a " $TRAVIS_PULL_REQUEST " = " false" ]; then
6+ 7+ GIT_NAME=" Typelevel Bot"
78
8- git config --global user.name " $GIT_NAME "
9- git config --global user.email " $GIT_EMAIL "
9+ git config --global user.name " $GIT_NAME "
10+ git config --global user.email " $GIT_EMAIL "
11+ git config --global push.default simple
12+
13+ sbt publishMicrosite
14+ else
15+ echo " Skipping deployment!"
16+ fi
1017
11- sbt publishMicrosite
You can’t perform that action at this time.
0 commit comments