Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyaonoe committed Jan 13, 2024
1 parent 50e69f1 commit 26c9108
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/latex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: "Commit and Push main.pdf"
run: |
mv main.pdf main_tmp.pdf
git config user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
git fetch
Expand All @@ -47,6 +48,7 @@ jobs:
git checkout --orphan main-pdf
git rm --cached -r .
fi
mv main_tmp.pdf main.pdf
git add -f main.pdf
git commit -m "main.pdf: ${{ github.sha }}"
git push origin main-pdf
Expand Down

0 comments on commit 26c9108

Please sign in to comment.