We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b835379 commit 577cbbfCopy full SHA for 577cbbf
1 file changed
.github/workflows/documentation.yml
@@ -5,6 +5,9 @@ on:
5
branches:
6
- '**'
7
8
+permissions:
9
+ contents: write
10
+
11
jobs:
12
build-docs:
13
runs-on: ubuntu-latest
@@ -62,9 +65,10 @@ jobs:
62
65
git config --global user.email "github-actions[bot]@users.noreply.github.com"
63
66
64
67
- name: Generate documentation
- run: npm run docs
68
+ run: npm run docs:generate
69
70
- name: Commit and push wiki changes
71
run: |
72
cd .wiki
- git diff --quiet && git diff --staged --quiet || echo "Changes already committed by docs script"
73
+ git add .
74
+ git diff --quiet && git diff --staged --quiet || (git commit -m "Automatical update Wiki" && git push)
0 commit comments