Browse Source

automatically deploy api to prod_build when merged to production

pull/384/head
Grant Heffernan 9 years ago
parent
commit
8cf49b0ac5
  1. 5
      circle.yml

5
circle.yml

@ -16,3 +16,8 @@ deployment:
- git clone git@github.com:mapzen/pelias-deploy.git && cd pelias-deploy && bundle install
- cd pelias-deploy && bundle exec rake deploy:api[dev]
- cd acceptance-tests && npm test -- -e dev
prod_build:
branch: production
commands:
- git clone git@github.com:mapzen/pelias-deploy.git && cd pelias-deploy && bundle install
- cd pelias-deploy && bundle exec rake deploy:api[prod_build]

Loading…
Cancel
Save