Skip to content

Commit f2b9732

Browse files
authored
Merge pull request scratchfoundation#4687 from rschamp/no-publish-greenkeeper
Exclude greenkeeper builds from gh-pages
2 parents a8ea46a + fda637e commit f2b9732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ deploy:
6565
- provider: script
6666
on:
6767
all_branches: true
68-
condition: $TRAVIS_EVENT_TYPE != cron
68+
condition: $TRAVIS_EVENT_TYPE != cron && ! $TRAVIS_BRANCH =~ ^greenkeeper/
6969
skip_cleanup: true
7070
script: npm run deploy -- -x -e $TRAVIS_BRANCH -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
7171
- provider: script

0 commit comments

Comments
 (0)