Skip to content

Commit afed636

Browse files
committed
adding docs to GitHub pages
1 parent 875d1ef commit afed636

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/doc.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12-
contents: read
12+
contents: write
1313
pages: write
1414
id-token: write
1515

@@ -37,6 +37,11 @@ jobs:
3737
- name: Build VitePress Docs
3838
run: npm run docs:build
3939

40+
- name: Configure Git
41+
run: |
42+
git config user.name "$GITHUB_ACTOR"
43+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
44+
4045
- name: Deploy to GitHub Pages
4146
uses: peaceiris/actions-gh-pages@v3
4247
with:

0 commit comments

Comments
 (0)