mirror of
https://github.com/moderncv/moderncv.git
synced 2026-05-30 13:47:00 +02:00
revert debug outputs and manipulation of branches for tests
This commit is contained in:
parent
0da41eb48a
commit
eeffa0be7d
1 changed files with 3 additions and 5 deletions
8
.github/workflows/build-userguide-pdf.yml
vendored
8
.github/workflows/build-userguide-pdf.yml
vendored
|
|
@ -4,9 +4,8 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
- fix-auto-guide-gen
|
||||
#paths:
|
||||
# - 'manual/moderncv_userguide.tex'
|
||||
paths:
|
||||
- 'manual/moderncv_userguide.tex'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'manual/moderncv_userguide.tex'
|
||||
|
|
@ -44,14 +43,13 @@ jobs:
|
|||
path: ./manual/moderncv_userguide.log
|
||||
|
||||
- name: Push new user guide to master
|
||||
if: ${{ github.ref_name == 'fix-auto-guide-gen' }}
|
||||
if: ${{ github.ref_name == 'master' }}
|
||||
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'
|
||||
# prevent error message due to mismatch in users: process in gh actions vs. owner of repo
|
||||
echo "git config --global --add safe.directory /__w/moderncv/moderncv"
|
||||
git config --global --add safe.directory /__w/moderncv/moderncv
|
||||
ls -l
|
||||
git add manual/moderncv_userguide.pdf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue