dougestey / toronto-city-hall

Take back city hall.
8 stars 4 forks source link

Create pipeline for deploying API changes #16

Closed patcon closed 8 years ago

patcon commented 8 years ago

Heroku app are normally little standalone apps. Heroku has a feature called pipelines, which allows you to stitch multiple apps into a deploy pipeline.

You git push directly to the first "dev" app in the pipeline as you normally would with Heroku) and it builds and deploys the code there. The pipeline then allows you to "promote" the built code to the next app environment, presumably "prod". The databases are left as-is, but code only gets to prod by going through dev, so it enforces a sort of flow control on changes.

https://devcenter.heroku.com/articles/pipelines

patcon commented 8 years ago

Also done