ci: use auto-commit action

This commit is contained in:
Folke Lemaitre 2024-06-23 20:42:07 +02:00
parent 4f5fd1eb85
commit d9f47220bc
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 7 additions and 7 deletions

View File

@ -69,13 +69,13 @@ jobs:
cp -r /tmp/temp-docs/doc/ . cp -r /tmp/temp-docs/doc/ .
cp /tmp/temp-docs/README.md . cp /tmp/temp-docs/README.md .
- name: Commit and push changes - name: Push changes
run: | uses: stefanzweifel/git-auto-commit-action@v5
git config --global user.name 'github-actions[bot]' with:
git config --global user.email 'github-actions[bot]@users.noreply.github.com' commit_message: "chore(build): auto-generate docs"
git add doc/ README.md commit_user_name: "github-actions[bot]"
git commit -m 'docs: update docs and README.md from docs branch' commit_user_email: "github-actions[bot]@users.noreply.github.com"
git push commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
docusaurus: docusaurus:
name: Build Docusaurus name: Build Docusaurus