diff --git a/.github/workflows/build-toc.yaml b/.github/workflows/build-toc.yaml index 9edd8e5..b0974dc 100644 --- a/.github/workflows/build-toc.yaml +++ b/.github/workflows/build-toc.yaml @@ -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 }} \ No newline at end of file