From 10ec206ae9490cc44cf9000a0ad617b89c6962f8 Mon Sep 17 00:00:00 2001 From: jaewon <139107488+jaerius@users.noreply.github.com> Date: Sat, 8 Jun 2024 01:08:50 +0900 Subject: [PATCH] =?UTF-8?q?=EB=90=98=EB=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a06516a..f7b4fb7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,9 +22,15 @@ jobs: working-directory: ./my-replicate-app run: npm install + - name: Install Heroku CLI + run: curl https://cli-assets.heroku.com/install.sh | sh + + - name: Log in to Heroku + run: echo "$HEROKU_API_KEY" | heroku auth:token + - name: Deploy to Heroku env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} run: | git remote add heroku https://git.heroku.com/calm-eyrie-10609.git - git subtree push --prefix my-replicate-app heroku main + git push heroku `git subtree split --prefix my-replicate-app main`:refs/heads/main --force