Skip to content

Commit 7548fa3

Browse files
committed
Adjust build script
Should not fail on pull-request builds.
1 parent b46bce2 commit 7548fa3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ env:
1212

1313
script:
1414
- sh ./tools/install_sshkey_github.sh $encrypted_3ac247a44cc5_key $encrypted_3ac247a44cc5_iv ./tools/[email protected] ~/.ssh/[email protected]
15-
- '[ "$TRAVIS_BRANCH" == "$DEPLOY_BRANCH" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && sh ./tools/deploy-gh-pages.sh _gh-pages'
15+
- |
16+
if [ "$TRAVIS_BRANCH" = "$DEPLOY_BRANCH" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
17+
sh ./tools/deploy-gh-pages.sh _gh-pages
18+
fi

0 commit comments

Comments
 (0)