[Fix #77] Staging is dead => change the CI and deploy info
Use develop instead
This commit is contained in:
parent
57460431e6
commit
a348d95057
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ jobs:
|
||||||
- "0a:67:42:7d:7e:b7:e1:3c:48:8f:bf:68:10:51:a8:44"
|
- "0a:67:42:7d:7e:b7:e1:3c:48:8f:bf:68:10:51:a8:44"
|
||||||
- deploy:
|
- deploy:
|
||||||
command: |
|
command: |
|
||||||
if [ "${CIRCLE_BRANCH}" == "staging" ]; then
|
if [ "${CIRCLE_BRANCH}" == "develop" ]; then
|
||||||
bundle exec rake deploy_ha
|
bundle exec rake deploy_ha
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ set :deploy_to, '/var/www/tps_dev'
|
||||||
case ENV["to"]
|
case ENV["to"]
|
||||||
when "staging"
|
when "staging"
|
||||||
if ENV['branch'].nil?
|
if ENV['branch'].nil?
|
||||||
set :branch, 'staging'
|
set :branch, 'develop'
|
||||||
else
|
else
|
||||||
set :branch, ENV['branch']
|
set :branch, ENV['branch']
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue