Created
July 16, 2018 12:51
-
-
Save takedajs/b29480bcb2f1e6ab1dbfc1193bd39f3f to your computer and use it in GitHub Desktop.
This file contains 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
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 | |
curl -X POST --data-urlencode "payload={\"username\": \"circleCI\",\"text\": \"masterをデプロイしました。\", \"icon_emoji\": \":ghost:\" }" "${SLACK_WEB_HOOK}" | |
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