From 05a95144a1f74712ad701bfce8406c9f2c63c355 Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Sun, 11 Aug 2024 15:31:38 +0100 Subject: [PATCH] try using git for deployment --- .github/workflows/heroku-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/heroku-deploy.yml b/.github/workflows/heroku-deploy.yml index c0ced662..42f1dccf 100644 --- a/.github/workflows/heroku-deploy.yml +++ b/.github/workflows/heroku-deploy.yml @@ -25,8 +25,8 @@ jobs: - name: Build and push env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: heroku container:push -a djangosnippets web + run: heroku git:remote -a djangosnippets - name: Release env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} - run: heroku container:release -a djangosnippets web \ No newline at end of file + run: git push heroku main \ No newline at end of file