Skip to content

Commit 483fb7f

Browse files
committed
Add autocommit action to do automated documentation updates
1 parent 7b7e57c commit 483fb7f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/documentation.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ jobs:
4848
run: "rsync -r --delete build/docs/* docs/docs/components/type-resolver"
4949

5050
- name: "Commit"
51-
run: |
52-
cd docs
53-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
54-
git config --local user.name "github-actions[bot]"
55-
git add .
56-
git commit -a -m "Update type-resolver documentation"
51+
uses: "stefanzweifel/git-auto-commit-action@v5"
52+
with:
53+
repository: "docs"
54+
commit_message: "Update type-resolver documentation"
5755

5856
- name: "Push"
5957
uses: "ad-m/github-push-action@master"

0 commit comments

Comments
 (0)