diff --git a/.github/workflows/webserver_deploy.yml b/.github/workflows/webserver_deploy.yml index 20f089e1..c330b01f 100644 --- a/.github/workflows/webserver_deploy.yml +++ b/.github/workflows/webserver_deploy.yml @@ -16,4 +16,6 @@ jobs: ref: server - name: Deploy to Heroku if: github.ref == 'refs/heads/server' && job.status == 'success' - run: git push -f https://heroku:${{ secrets.HEROKU_API_TOKEN }}@git.heroku.com/mycanteenapp.git server:master + run: | + git fetch --all --unshallow + git push -f https://heroku:${{ secrets.HEROKU_API_TOKEN }}@git.heroku.com/mycanteenapp.git server:master