[Fix #77] Staging is dead => change the CI and deploy info

Use develop instead
This commit is contained in:
gregoirenovel 2017-05-31 17:03:51 +02:00 committed by Mathieu Magnin
parent 57460431e6
commit a348d95057
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ jobs:
- "0a:67:42:7d:7e:b7:e1:3c:48:8f:bf:68:10:51:a8:44"
- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "staging" ]; then
if [ "${CIRCLE_BRANCH}" == "develop" ]; then
bundle exec rake deploy_ha
fi

View file

@ -27,7 +27,7 @@ set :deploy_to, '/var/www/tps_dev'
case ENV["to"]
when "staging"
if ENV['branch'].nil?
set :branch, 'staging'
set :branch, 'develop'
else
set :branch, ENV['branch']
end