run deploy only for master branch
This commit is contained in:
parent
985b2c7173
commit
138c333768
@ -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
|
||||||
|
2
Supfile
2
Supfile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user