Add deployment instructions to circle.yml

In order to do continuous delivery in staging
This commit is contained in:
gregoirenovel 2017-04-05 16:30:07 +02:00
parent 31a623ee7a
commit eaf3a790f5

View file

@ -1,3 +1,9 @@
database: database:
override: override:
- bundle exec rake db:drop db:create db:migrate RAILS_ENV=test - bundle exec rake db:drop db:create db:migrate RAILS_ENV=test
deployment:
staging:
branch: staging
commands:
- bundle exec rake deploy_ha