From 9e32dd0c99f63263125da27a85135549fd1d07ab Mon Sep 17 00:00:00 2001 From: LLdaniel Date: Sat, 31 Jan 2026 13:31:40 +0100 Subject: [PATCH] test to checkout .git as well for later push --- .github/workflows/build-userguide-pdf.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-userguide-pdf.yml b/.github/workflows/build-userguide-pdf.yml index b6e1e35..61da8f9 100644 --- a/.github/workflows/build-userguide-pdf.yml +++ b/.github/workflows/build-userguide-pdf.yml @@ -25,6 +25,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 2 + path: . - name: Build user guide pdf run: latexmk -pdflua -cd ./manual/moderncv_userguide.tex @@ -43,13 +44,12 @@ jobs: path: ./manual/moderncv_userguide.log - name: Push new user guide to master - if: ${{ github.ref_name == 'master' }} + if: ${{ github.ref_name == 'fix-automated-userguide' }} run: | # maybe switch to an image with git already included, for now install it here apt update && apt install git -y git config --global user.name '${{ env.UG_AUTHOR }}' git config --global user.email '${{ github.actor }}@users.noreply.github.com' - ls -l git add manual/moderncv_userguide.pdf git commit -m "${{ env.UG_COMMIT_MESSAGE }}" git push