Skip to content

Instantly share code, notes, and snippets.

@fabripautasso
Last active October 5, 2019 14:25
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 fabripautasso/27ebcd610a3abfeabda0d6009a09b623 to your computer and use it in GitHub Desktop.
Save fabripautasso/27ebcd610a3abfeabda0d6009a09b623 to your computer and use it in GitHub Desktop.
deploy-dev:
machine: true
steps:
- checkout
- run:
name: Build and push Docker image to Heroku
command: |
sudo curl https://cli-assets.heroku.com/install.sh | sh
HEROKU_API_KEY=${HEROKU_TOKEN} heroku container:login
HEROKU_API_KEY=${HEROKU_TOKEN} heroku container:push -a python-django-starter web
HEROKU_API_KEY=${HEROKU_TOKEN} heroku container:release -a python-django-starter web
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment