mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
test to checkout .git as well for later push
This commit is contained in:
parent
8076b77366
commit
9e32dd0c99
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-userguide-pdf.yml
vendored
4
.github/workflows/build-userguide-pdf.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue