From 64f7bb97d516698d389e004c1180954df5fb7414 Mon Sep 17 00:00:00 2001 From: Connor Bechthold Date: Wed, 31 Jan 2024 01:57:50 -0500 Subject: [PATCH] add github secrets to heroku deploy script --- .github/workflows/heroku-deploy-dev-py.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/heroku-deploy-dev-py.yml b/.github/workflows/heroku-deploy-dev-py.yml index 86447fd1..81ed5db5 100644 --- a/.github/workflows/heroku-deploy-dev-py.yml +++ b/.github/workflows/heroku-deploy-dev-py.yml @@ -48,7 +48,10 @@ jobs: heroku config:set MAILER_REFRESH_TOKEN="${{ secrets.MAILER_REFRESH_TOKEN }}" -a $HEROKU_APP_NAME && \ heroku config:set PREVIEW_DEPLOY=true -a $HEROKU_APP_NAME && \ heroku config:set FLASK_CONFIG="${{ secrets.FLASK_CONFIG }}" -a $HEROKU_APP_NAME && \ - heroku config:set FLASK_APP=app -a $HEROKU_APP_NAME + heroku config:set FLASK_APP=app -a $HEROKU_APP_NAME && \ + heroku config:set CREATE_SIGN_IN_LOG="${{ secrets.CREATE_SIGN_IN_LOG }}" -a $HEROKU_APP_NAME && \ + heroku config:set TWO_FA_ENABLED="${{ secrets.TWO_FA_ENABLED }}" -a $HEROKU_APP_NAME && \ + heroku config:set TWO_FA_SECRET="${{ secrets.TWO_FA_SECRET }}" -a $HEROKU_APP_NAME env: HEROKU_APP_NAME: "${{ secrets.HEROKU_APP_NAME }}" - name: Push to Heroku