Skip to content

Commit

Permalink
Use a new native way to commid and push.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anduin2017 authored Nov 27, 2023
1 parent 6161b37 commit 9082df4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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] <github-actions[bot]@users.noreply.github.com>
- 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
Expand Down

0 comments on commit 9082df4

Please sign in to comment.