docs: update workflow

This commit is contained in:
LouisShark 2023-12-24 13:57:33 +08:00
parent 717b60eda3
commit c9fbf42c6c

View file

@ -27,11 +27,11 @@ jobs:
- name: Commit TOC updates
run: |
git pull --rebase
git config --global user.name 'LouisShark'
git config --global user.email 'mshark.louis@gmail.com'
git add TOC.md
git commit -m "docs: Update TOC.md" || echo "No changes to commit"
git pull --rebase
git push origin HEAD:main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}