Skip to content

Instantly share code, notes, and snippets.

@takedajs
Last active June 24, 2018 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takedajs/9bdcfadd8b8fdeb9253d9655215edd46 to your computer and use it in GitHub Desktop.
Save takedajs/9bdcfadd8b8fdeb9253d9655215edd46 to your computer and use it in GitHub Desktop.
CodeIgniter_CircleCI/.circleci/config.yml
version: 2
jobs:
deploy:
docker:
- image: circleci/php:7.1.8-browsers
steps:
- checkout
- run:
name: heroku deploy
command: |
git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git master
workflows:
version: 2
deploy:
jobs:
- deploy:
filters:
branches:
only: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment