From 9340ee9e63740b73ef41824e328ef842eb8536a2 Mon Sep 17 00:00:00 2001 From: Kim Burgestrand Date: Tue, 15 Oct 2024 15:12:19 +0200 Subject: [PATCH] no shallow clone --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3828511..2a7b41d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,9 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Deploy to Heroku env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} HEROKU_APP_NAME: ${{ vars.HEROKU_APP_NAME || 'sthlmrb' }} run: | - git push "https://:${HEROKU_API_KEY}@git.heroku.com/${HEROKU_APP_NAME}.git" master + git remote add origin "https://:${HEROKU_API_KEY}@git.heroku.com/${HEROKU_APP_NAME}.git" + git push heroku master