Skip to content

Commit 2e8eff0

Browse files
committed
pdf fix
1 parent f318f53 commit 2e8eff0

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,16 @@ jobs:
100100
git config user.name "github-actions[bot]"
101101
git config user.email "github-actions[bot]@users.noreply.github.com"
102102
103-
# Verplaats PDFs naar root (optioneel)
104103
if [[ "${{ steps.config.outputs.grep }}" == "true" ]] && ls static/*.pdf 1>/dev/null 2>&1; then
105104
mv static/*.pdf .
106105
fi
107106
108-
git add snapshot.html *.pdf $CHECK_DIR/*.txt
107+
git add snapshot.html $CHECK_DIR/*.txt
108+
109+
if compgen -G "*.pdf" > /dev/null; then
110+
git add *.pdf
111+
fi
112+
109113
git commit -m "Snapshot + checks gegenereerd" || echo "No changes to commit"
110114
git push --force-with-lease origin HEAD:main
111115

0 commit comments

Comments
 (0)