File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,16 @@ jobs:
4040 skip_cleanup : true
4141 api_key : $GITHUB_TOKEN
4242 file : $RELEASE_PACKAGE
43+ on :
44+ branch : master
4345
4446stages :
4547 - name : test
4648 if : branch!=master AND branch!=^untagged.*
4749 - name : merge (develop --> master)
48- if : branch== develop AND type!=pull_request
50+ if : branch=develop AND type!=pull_request
4951 - name : deploy
50- if : branch== master AND type!=pull_request
52+ if : branch=master
5153
5254notifications :
5355 email : false
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ "$TRAVIS_BRANCH" == "develop" ]; then
77 git fetch
88 git reset --hard
99 git checkout master || echo " Git checkout master failed"
10- git merge --ff-only " $TRAVIS_COMMIT " || echo " Merge develop to master failed"
10+ git merge " $TRAVIS_COMMIT " || echo " Merge develop to master failed"
1111 git push -q https://$GITHUB_TOKEN @github.com/ggeop/Python-ai-assistant master
1212fi
1313
You can’t perform that action at this time.
0 commit comments