Skip to content

Commit

Permalink
Correct permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rs028 committed Feb 3, 2024
1 parent 8a4dc83 commit 90c4a04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand Down Expand Up @@ -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 }}

0 comments on commit 90c4a04

Please sign in to comment.