circle ci

This commit is contained in:
Ruidy Nemausat 2019-12-04 14:35:51 +01:00
parent 58c78ff147
commit e389ad1171

16
.circleci/config.yml Normal file
View file

@ -0,0 +1,16 @@
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