Skip to content

Commit f8ace42

Browse files
Update GH-pages (#3060)
1 parent f5e48df commit f8ace42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/gh_pages_deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
fetch-depth: 0
3434
token: ${{ secrets.GH_ACTIONS_BOT_TOKEN }}
35+
persist-credentials: true
3536

3637
- name: Setup Node.js
3738
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -98,6 +99,7 @@ jobs:
9899
env:
99100
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_BOT_TOKEN }}
100101
run: |
102+
git config --global --unset-all credential.helper
101103
git config user.name 'github-actions[bot]'
102104
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
103105
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"

0 commit comments

Comments
 (0)