add circleci env variables to deploy step

This commit is contained in:
sorrelbri 2020-03-29 23:22:43 -07:00
parent 4d71c8fdaf
commit c1a9fe7204

View file

@ -48,4 +48,12 @@ jobs:
# ! temporary fix for deprecated package: minimist # ! temporary fix for deprecated package: minimist
- run: npm audit --audit-level=moderate - run: npm audit --audit-level=moderate
- run: npm run deploy
deploy:
requires:
- build
working_directory: ~/node-go
steps:
- checkout
- run: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HK_API.git master
- run: git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HK_PLAY.git master