Install git in container used for automatic userguide generation (#254)

* gh action uses image without git: therefore add it, provide the newest moderncv_userguide.pdf manually due to failed action

* update apt sources
This commit is contained in:
daniel 2025-09-06 20:54:19 +02:00 committed by GitHub
commit ee076d39f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -45,6 +45,8 @@ jobs:
- name: Push new user guide to master - name: Push new user guide to master
if: ${{ github.ref_name == 'master' }} if: ${{ github.ref_name == 'master' }}
run: | 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.name '${{ env.UG_AUTHOR }}'
git config --global user.email '${{ github.actor }}@users.noreply.github.com' git config --global user.email '${{ github.actor }}@users.noreply.github.com'
git add manual/moderncv_userguide.pdf git add manual/moderncv_userguide.pdf

Binary file not shown.