latex-template

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit efd2d9224059f24fbc7f27201bcf81d0297d0016
parent e2ddd91ea411675803bd6c410ab0adcde950f67d
Author: minerva-jupiter <ryouturn@gmail.com>
Date:   Thu, 17 Apr 2025 20:09:40 +0900

add setup git step

Diffstat:
M.github/workflows/PRbuild.yaml | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/PRbuild.yaml b/.github/workflows/PRbuild.yaml @@ -9,6 +9,11 @@ jobs: name: PRBuild runs-on: self-hosted steps: + - name: setup git + run: | + git config --global user.name "GitHub Actions Bot" + git config --global user.email "<>" + git pull origin dev - name: Set up Git repository uses: actions/checkout@v2 - name: compile latex document @@ -20,10 +25,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} URL: ${{ github.event.pull_request.html_url }} run: | - git config user.name "GitHub Actions Bot" - git config user.email "<>" - git pull origin dev - git add main.pdf + git add ./main.pdf git commit -m "Add PDF to PR" git push origin HEAD:dev