From 5ebf39a5be4b434176e948f447b4ca9843540de2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 18 Jan 2026 04:48:21 +0300 Subject: [PATCH] Fix git credentials for gh-pages deployment --- .github/workflows/push-main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/push-main.yml b/.github/workflows/push-main.yml index b6f82f6..e2a118b 100644 --- a/.github/workflows/push-main.yml +++ b/.github/workflows/push-main.yml @@ -22,6 +22,12 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} + persist-credentials: false + - name: Configure Git Credentials + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/" - uses: actions/setup-node@v4 with: node-version: 'lts/*'