diff --git a/.github/workflows/tex.yml b/.github/workflows/tex.yml index 740cf6be..6ecccf34 100644 --- a/.github/workflows/tex.yml +++ b/.github/workflows/tex.yml @@ -38,6 +38,8 @@ jobs: pdf_manual: # The job runs on the latest version of linux (ubuntu) runs-on: ubuntu-latest + permissions: + contents: write steps: @@ -54,7 +56,6 @@ jobs: run: | echo "Token Permissions: $(curl -sSL -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/AtChem/AtChem2 | jq .permissions)" - # ------------------------------------------------------------- # 2. Setup TeXLive and Inkscape (v1.x), then run the script to # generate the pdf file of the manual @@ -84,6 +85,5 @@ jobs: - name: Commit and Push run: | git add doc/AtChem2-Manual.pdf - git status - # git commit -m "Update AtChem2-Manual.pdf" + git commit -m "Update AtChem2-Manual.pdf" # git push origin HEAD:${{ github.ref }}