diff --git a/.travis.yml b/.travis.yml index 48812056..fd0b03fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,5 +31,4 @@ notifications: after_script: - bash ./pkg/transformers/stop_test_chain.sh - if: branch = staging - - sup --debug staging deploy + - bash ./bin/deploy.sh diff --git a/bin/deploy.sh b/bin/deploy.sh new file mode 100755 index 00000000..8bf6dbd1 --- /dev/null +++ b/bin/deploy.sh @@ -0,0 +1,3 @@ +if [ $TRAVIS_BRANCH == 'staging' ]; then + sup --debug staging deploy +fi