File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,5 @@ deploy:
19
19
api_key :
20
20
secure : $TRAVIS_SECURE_API_KEY
21
21
after_success :
22
- - if [ "$TRAVIS_BRANCH" == "develop" ] ; then bash travis.sh ; fi
22
+ - if [ "$TRAVIS_BRANCH" == "develop" ] ; then
23
+ if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then bash travis.sh ; fi ; fi
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ git remote rm $PROVIDER ;
12
12
git remote add $PROVIDER git@$PROVIDER .com:$PROVIDER_APP_NAME .git ;
13
13
14
14
git add dist/ ;
15
- git checkout -b $TRAVIS_BRANCH ;
15
+ git checkout -b $NEW_TRAVIS_BRANCH ;
16
16
git commit -m " $TRAVIS_COMMIT_MESSAGE " ;
17
- git push $PROVIDER $TRAVIS_BRANCH : PROVIDER_BRANCH ;
17
+ git push $PROVIDER $NEW_TRAVIS_BRANCH : $ PROVIDER_BRANCH ;
18
18
19
19
echo -e " yes" | ./travis.sh ; fi
You can’t perform that action at this time.
0 commit comments