run deploy only for master branch

This commit is contained in:
Taka Goto 2018-09-17 14:07:25 -05:00
parent 985b2c7173
commit 138c333768
2 changed files with 2 additions and 1 deletions

View File

@ -31,4 +31,5 @@ notifications:
after_script: after_script:
- bash ./pkg/transformers/stop_test_chain.sh - bash ./pkg/transformers/stop_test_chain.sh
if: branch = master
- sup --debug staging deploy - sup --debug staging deploy

View File

@ -25,7 +25,7 @@ commands:
desc: remove old vulcanizedb desc: remove old vulcanizedb
run: rm -rf $VDB_PATH && rm -rf /usr/local/vulcanizedb run: rm -rf $VDB_PATH && rm -rf /usr/local/vulcanizedb
transfer: transfer:
desc: transfer build to remote server desc: transfer repo to remote server
local: rsync -r . root@147.75.96.51:$VDB_PATH local: rsync -r . root@147.75.96.51:$VDB_PATH
migrate: migrate:
desc: run migration desc: run migration