Merge pull request #546 from sgmap/fix-76
[Fix #76] The develop branch is now dev
This commit is contained in:
commit
62832f079a
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,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}" == "develop" ]; then
|
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
|
||||||
bundle exec rake deploy_ha
|
bundle exec rake deploy_ha
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ set :deploy_to, '/var/www/tps_dev'
|
||||||
|
|
||||||
case ENV["to"]
|
case ENV["to"]
|
||||||
when "staging"
|
when "staging"
|
||||||
set :branch, ENV['branch'] || 'develop'
|
set :branch, ENV['branch'] || 'dev'
|
||||||
set :deploy_to, '/var/www/tps_dev'
|
set :deploy_to, '/var/www/tps_dev'
|
||||||
set :user, 'tps_dev' # Username in the server to SSH to.
|
set :user, 'tps_dev' # Username in the server to SSH to.
|
||||||
appname = 'tps_dev'
|
appname = 'tps_dev'
|
||||||
|
|
Loading…
Add table
Reference in a new issue