From e88a200ff40003ed3eea9d8e5dffbe1f642532af Mon Sep 17 00:00:00 2001 From: Taka Goto Date: Wed, 19 Sep 2018 12:53:15 -0500 Subject: [PATCH] deploy script for staging --- .travis.yml | 3 +-- bin/deploy.sh | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 bin/deploy.sh 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