From 819dfcd8fe9d665e8ee9c975ab4899b8ee1e215e Mon Sep 17 00:00:00 2001 From: mozartilize Date: Fri, 21 Feb 2020 17:13:49 +0700 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 437dd4f..9927a78 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,11 +13,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Deploy heroku + - + name: Checkout + uses: actions/checkout@v2 + - + name: Unshallow + run: git fetch --prune --unshallow + - + name: Deploy heroku env: HEROKU_API_TOKEN: ${{ secrets.HEROKU_API_TOKEN }} HEROKU_APP_NAME: "xhaka" run: | - git fetch --all --unshallow git push -f https://heroku:$HEROKU_API_TOKEN@git.heroku.com/$HEROKU_APP_NAME.git origin/master:master