Skip to content

Commit 799abf8

Browse files
committed
[ travis ] push if you're on master
I hate how git seems to always merge .travis.yml the wrong way around...
1 parent cfb47f8 commit 799abf8

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
@@ -103,7 +103,7 @@ after_success:
103103
- git checkout HEAD -- v0.16/ v0.17/ v1.0/ v1.1/ v1.2/ experimental/
104104
- git add -f \*.html
105105
- git commit -m "Automatic HTML update via Travis"
106-
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "experimental" ];
106+
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ];
107107
then git push -q upstream HEAD:gh-pages &>/dev/null;
108108
fi
109109

0 commit comments

Comments
 (0)