From d9f47220bc1dcbb8e59673eb68ce88bd2bc0b354 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Sun, 23 Jun 2024 20:42:07 +0200 Subject: [PATCH] ci: use auto-commit action --- .github/workflows/deploy.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 8118efd..b07d456 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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] " docusaurus: name: Build Docusaurus