deploy:
docker:
- image: buildpack-deps:xenial
steps:
- checkout
- run:
name: Deploy Master to Heroku
context: Heroku
command: |
git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git master
In the above block I have a context named Heroku with the environment variables that I want to use for the deployment however it seems the aren’t being used correctly in this block, I’ve tried moving the context block around to different places with no success. Does anyone know where this should be put?