docs: update workflow
This commit is contained in:
2
.github/workflows/build-toc.yaml
vendored
2
.github/workflows/build-toc.yaml
vendored
@@ -27,11 +27,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit TOC updates
|
- name: Commit TOC updates
|
||||||
run: |
|
run: |
|
||||||
git pull --rebase
|
|
||||||
git config --global user.name 'LouisShark'
|
git config --global user.name 'LouisShark'
|
||||||
git config --global user.email 'mshark.louis@gmail.com'
|
git config --global user.email 'mshark.louis@gmail.com'
|
||||||
git add TOC.md
|
git add TOC.md
|
||||||
git commit -m "docs: Update TOC.md" || echo "No changes to commit"
|
git commit -m "docs: Update TOC.md" || echo "No changes to commit"
|
||||||
|
git pull --rebase
|
||||||
git push origin HEAD:main
|
git push origin HEAD:main
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user