From c1a9fe720465b90bb91ec958a297c9f17b1b8ee6 Mon Sep 17 00:00:00 2001 From: sorrelbri Date: Sun, 29 Mar 2020 23:22:43 -0700 Subject: [PATCH] add circleci env variables to deploy step --- .circleci/config.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6b93823..77afa28 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,4 +48,12 @@ jobs: # ! temporary fix for deprecated package: minimist - run: npm audit --audit-level=moderate - - run: npm run deploy \ No newline at end of file + + 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 \ No newline at end of file