Use a new native way to commid and push.

This commit is contained in:
Anduin Xue 2023-11-27 08:00:03 +00:00 committed by GitHub
parent 6161b3746d
commit 9082df40eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,14 +34,13 @@ jobs:
- run: ./node_modules/.bin/textlint . --fix - run: ./node_modules/.bin/textlint . --fix
- run: rm ./node_modules -rvf - run: rm ./node_modules -rvf
# Save files. # Save files.
- uses: stefanzweifel/git-auto-commit-action@v4 - name: Push changes
with: run: |
commit_message: '[ci skip] Automatic file changes/fix' git config user.name github-actions[bot]
branch: 'master' git config user.email github-actions[bot]@users.noreply.github.com
file_pattern: ':/*.*' git add .
commit_user_name: github-actions[bot] git commit -m "[ci skip] Automatic file changes/fix v2"
commit_user_email: github-actions[bot]@users.noreply.github.com git push
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
# Build docs # Build docs
- run: echo cook.aiurs.co > CNAME - run: echo cook.aiurs.co > CNAME
- run: mkdir docs && echo cook.aiurs.co > docs/CNAME - run: mkdir docs && echo cook.aiurs.co > docs/CNAME