From 9f74bf45b71be66d3ad23e7494d76e3cb8136fff Mon Sep 17 00:00:00 2001 From: Twinki Date: Sun, 29 Sep 2024 02:46:15 -0400 Subject: [PATCH] ChatGPT to the rescue? --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64ec836..935a876 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,8 +79,6 @@ jobs: runs-on: ubuntu-latest needs: build if: ${{ github.ref_name == github.event.repository.default_branch || github.event_name == 'release' }} - env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }} steps: - name: Checkout @@ -133,4 +131,4 @@ jobs: git diff --quiet && git diff --staged --quiet || git commit -m "Update - /" - name: Push - run: git push origin gh-pages \ No newline at end of file + run: git push https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}.git HEAD:gh-pages --force \ No newline at end of file