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:
|
||||
command: |
|
||||
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
|
||||
bundle exec rake deploy_ha
|
||||
bundle exec rake deploy
|
||||
fi
|
||||
|
||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
||||
bundle exec rake deploy_ha to=production
|
||||
bundle exec rake deploy to=production
|
||||
fi
|
||||
|
||||
workflows:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
task :deploy_ha do
|
||||
task :deploy do
|
||||
domains = %w(149.202.72.152 149.202.198.6)
|
||||
domains.each do |domain|
|
||||
sh "mina deploy domain=#{domain}"
|
Loading…
Add table
Reference in a new issue