diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c9f8df0..0c3e13e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -58,6 +58,10 @@ jobs: run: | echo "$HEROKU_API_KEY" | heroku auth:token + - name: Add remote origin + run: | + git remote add heroku https://heroku:${{ secrets.HEROKU_API_KEY }}@git.heroku.com/${{ secrets.HEROKU_APP_NAME }}.git + - name: Deploy to Heroku env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}