From a99e607c45189bbab494926c91dda48dbad46cff Mon Sep 17 00:00:00 2001 From: Bhargava Sana Date: Mon, 2 Dec 2024 17:01:56 -0800 Subject: [PATCH] Provide gh token for the automatic commit --- .github/workflows/static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 29e12fd..eee16b3 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -45,7 +45,7 @@ jobs: git config --global user.email "github-actions@github.com" git add . git commit -m "Update directory listings" - git push + git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:${{ github.ref }} - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: