villafleurie/.circleci/config.yml
Ruidy Nemausat e389ad1171 circle ci
2019-12-04 14:35:51 +01:00

16 lines
485 B
YAML

version: 2
jobs:
build:
machine: true
steps:
- checkout
- run: |
docker-compose up
- run: |
docker login --username=$HEROKU_USERNAME --password=$HEROKU_API_KEY registry.heroku.com
docker tag portfolio registry.heroku.com/$HEROKU_APP_NAME/web
docker push registry.heroku.com/$HEROKU_APP_NAME/web
curl https://cli-assets.heroku.com/install.sh | sh
heroku container:release web -a $HEROKU_APP_NAME