We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4d2ba4 + 62c2610 commit 06db1b1Copy full SHA for 06db1b1
.travis.yml
@@ -19,4 +19,5 @@ deploy:
19
api_key:
20
secure: $TRAVIS_SECURE_API_KEY
21
after_success:
22
- - if [ "$TRAVIS_BRANCH" == "develop" ] ; then bash travis.sh ; fi
+ - if [ "$TRAVIS_BRANCH" == "develop" ] ; then
23
+ if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then bash travis.sh ; fi ; fi
travis.sh
@@ -12,8 +12,8 @@ git remote rm $PROVIDER ;
12
git remote add $PROVIDER git@$PROVIDER.com:$PROVIDER_APP_NAME.git ;
13
14
git add dist/ ;
15
-git checkout -b $TRAVIS_BRANCH ;
+git checkout -b $NEW_TRAVIS_BRANCH ;
16
git commit -m "$TRAVIS_COMMIT_MESSAGE" ;
17
-git push $PROVIDER $TRAVIS_BRANCH:PROVIDER_BRANCH ;
+git push $PROVIDER $NEW_TRAVIS_BRANCH:$PROVIDER_BRANCH ;
18
echo -e "yes" | ./travis.sh ; fi
0 commit comments