From fcd55d1a0acf55d68ab6a63552ff90202a5a1ea3 Mon Sep 17 00:00:00 2001 From: jaewon <139107488+jaerius@users.noreply.github.com> Date: Sat, 8 Jun 2024 01:23:54 +0900 Subject: [PATCH] =?UTF-8?q?=EB=90=98=EB=83=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8e3c5cc..504b34f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,12 +27,15 @@ jobs: - name: Authenticate with Heroku env: + HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }} HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} run: | - echo "machine api.heroku.com" >> ~/.netrc - echo " login $HEROKU_API_KEY" >> ~/.netrc + echo "machine api.heroku.com" > ~/.netrc + echo " login $HEROKU_EMAIL" >> ~/.netrc + echo " password $HEROKU_API_KEY" >> ~/.netrc echo "machine git.heroku.com" >> ~/.netrc - echo " login $HEROKU_API_KEY" >> ~/.netrc + echo " login $HEROKU_EMAIL" >> ~/.netrc + echo " password $HEROKU_API_KEY" >> ~/.netrc - name: Add Heroku remote run: git remote add heroku https://git.heroku.com/calm-eyrie-10609.git @@ -43,7 +46,4 @@ jobs: git config --global user.name "jaewon" - name: Push to Heroku - env: - HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: | - git push heroku `git subtree split --prefix my-replicate-app main`:refs/heads/main --force + run: git push heroku `git subtree split --prefix my-replicate-app main`:refs/heads/main --force