villafleurie/.circleci/config.yml
Ruidy Nemausat 93d7bb58ec circle ci
2019-12-04 14:36:27 +01:00

16 lines
488 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 villafleurie 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