Skip to content

Commit 641f05f

Browse files
committed
.
1 parent bb022d8 commit 641f05f

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/generate-page-docs.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Generate page docs
22

3-
on:
4-
push:
5-
branches: ["main"]
3+
on: push
4+
5+
permissions:
6+
contents: write
67

78
jobs:
89
build:
@@ -32,6 +33,15 @@ jobs:
3233
sleep 1
3334
done
3435
36+
- uses: actions/checkout@v3
37+
- run: |
38+
date > generated.txt
39+
git config user.name github-actions
40+
git config user.email [email protected]
41+
git add docs/index.html
42+
git commit -m "generated"
43+
git push
44+
3545
- name: Commit files
3646
run: |
3747
git config --local user.email "[email protected]"

0 commit comments

Comments
 (0)