From 26c9108d8396dd304139ed22bbcc35baae849569 Mon Sep 17 00:00:00 2001 From: Hiroya Onoe Date: Sat, 13 Jan 2024 20:36:29 +0900 Subject: [PATCH] fix --- .github/workflows/latex.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/latex.yaml b/.github/workflows/latex.yaml index bd5d04d..4b478af 100644 --- a/.github/workflows/latex.yaml +++ b/.github/workflows/latex.yaml @@ -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 @@ -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