Skip to content

Commit

Permalink
use auto-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwiglierhammer committed Nov 27, 2024
1 parent a3bfeaf commit 7cf3f40
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
pre_compile: cd mug_document_src
latexmk_use_lualatex: true
- name: Commit and push PDF
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
#git pull origin ${{ github.head_ref || github.ref_name }}
git add mug_document_src/main.pdf
git commit -m "Update current version of the Marine User Guide" || echo "No changes to commit"
git push origin HEAD:${{ github.head_ref || github.ref_name }}
-uses: stefanzweifel/git-auto-commit-action@v5
# run: |
# git config --global user.name "GitHub Actions"
# git config --global user.email "[email protected]"
# #git pull origin ${{ github.head_ref || github.ref_name }}
# git add mug_document_src/main.pdf
# git commit -m "Update current version of the Marine User Guide" || echo "No changes to commit"
# git push origin HEAD:${{ github.head_ref || github.ref_name }}

0 comments on commit 7cf3f40

Please sign in to comment.