mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-05 07:27:34 +00:00
ci: use auto-commit action
This commit is contained in:
parent
4f5fd1eb85
commit
d9f47220bc
1 changed files with 7 additions and 7 deletions
14
.github/workflows/deploy.yaml
vendored
14
.github/workflows/deploy.yaml
vendored
|
@ -69,13 +69,13 @@ jobs:
|
|||
cp -r /tmp/temp-docs/doc/ .
|
||||
cp /tmp/temp-docs/README.md .
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
git config --global user.name 'github-actions[bot]'
|
||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
||||
git add doc/ README.md
|
||||
git commit -m 'docs: update docs and README.md from docs branch'
|
||||
git push
|
||||
- name: Push changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: "chore(build): auto-generate docs"
|
||||
commit_user_name: "github-actions[bot]"
|
||||
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
||||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||
|
||||
docusaurus:
|
||||
name: Build Docusaurus
|
||||
|
|
Loading…
Add table
Reference in a new issue