From 9082df40ebff06c8bb2341d98bd2b88e3585366a Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Mon, 27 Nov 2023 08:00:03 +0000 Subject: [PATCH] Use a new native way to commid and push. --- .github/workflows/build.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 226d7c2..1e90bd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,14 +34,13 @@ jobs: - run: ./node_modules/.bin/textlint . --fix - run: rm ./node_modules -rvf # Save files. - - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: '[ci skip] Automatic file changes/fix' - branch: 'master' - file_pattern: ':/*.*' - commit_user_name: github-actions[bot] - commit_user_email: github-actions[bot]@users.noreply.github.com - commit_author: github-actions[bot] + - name: Push changes + run: | + git config user.name github-actions[bot] + git config user.email github-actions[bot]@users.noreply.github.com + git add . + git commit -m "[ci skip] Automatic file changes/fix v2" + git push # Build docs - run: echo cook.aiurs.co > CNAME - run: mkdir docs && echo cook.aiurs.co > docs/CNAME