Created
January 12, 2016 06:13
-
-
Save ptrikutam/dd3b409e967f7450d837 to your computer and use it in GitHub Desktop.
A sample circle.yml for a github workflow
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: | |
production: | |
branch: master | |
commands: | |
- git push [email protected]:yourapp.git $CIRCLE_SHA1:master | |
- heroku run rake db:migrate --app yourapp | |
- heroku run 'rake cache:clear' --app yourapp | |
staging: | |
branch: development | |
commands: | |
- git push [email protected]:yourapp-staging.git $CIRCLE_SHA1:master | |
- heroku run rake db:migrate --app yourapp-staging | |
- heroku run 'rake cache:clear' --app yourapp-staging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment