Created
January 29, 2018 21:56
-
-
Save kainiklas/76671242020483a6fd48b0877c429e8f to your computer and use it in GitHub Desktop.
Bitbucket Pipeline for CakePHP + Heroku deployment
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
| # This is a sample build configuration for CakePHP >=3.5 + Heroku | |
| # Official Bitbucket Pipeline documentation: https://confluence.atlassian.com/x/e8YWN | |
| # Only use spaces to indent .yml configuration. | |
| # ----- | |
| image: edbizarro/bitbucket-pipelines-php7 | |
| pipelines: | |
| branches: | |
| master: | |
| - step: | |
| caches: | |
| - composer | |
| script: | |
| - composer install --no-interaction --no-progress --prefer-dist | |
| - composer test | |
| - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment