Created
September 30, 2013 00:38
-
-
Save jhubert/6757968 to your computer and use it in GitHub Desktop.
Our circle.yml file for Continuous Integration with Heroku and CircleCI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| deployment: | |
| deploy_staging: | |
| branch: staging | |
| commands: | |
| - heroku maintenance:on --app OUR_STAGING_APP | |
| - git push [email protected]:OUR_STAGING_APP.git $CIRCLE_SHA1:refs/heads/master | |
| - heroku run rake db:migrate --app OUR_STAGING_APP | |
| - heroku restart --app OUR_STAGING_APP | |
| - heroku maintenance:off --app OUR_STAGING_APP | |
| deploy_production: | |
| branch: production | |
| commands: | |
| - heroku maintenance:on --app OUR_PRODUCTION_APP | |
| - git push [email protected]:OUR_PRODUCTION_APP.git $CIRCLE_SHA1:refs/heads/master | |
| - heroku run rake db:migrate --app OUR_PRODUCTION_APP | |
| - heroku restart --app OUR_PRODUCTION_APP | |
| - heroku maintenance:off --app OUR_PRODUCTION_APP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment