deploy_ha → deploy
This commit is contained in:
parent
e2b09df049
commit
516860c92e
2 changed files with 3 additions and 3 deletions
|
@ -104,11 +104,11 @@ jobs:
|
||||||
- deploy:
|
- deploy:
|
||||||
command: |
|
command: |
|
||||||
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
|
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
|
||||||
bundle exec rake deploy_ha
|
bundle exec rake deploy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||||
bundle exec rake deploy_ha to=production
|
bundle exec rake deploy to=production
|
||||||
fi
|
fi
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
task :deploy_ha do
|
task :deploy do
|
||||||
domains = %w(149.202.72.152 149.202.198.6)
|
domains = %w(149.202.72.152 149.202.198.6)
|
||||||
domains.each do |domain|
|
domains.each do |domain|
|
||||||
sh "mina deploy domain=#{domain}"
|
sh "mina deploy domain=#{domain}"
|
Loading…
Reference in a new issue