We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f318f53 commit 2e8eff0Copy full SHA for 2e8eff0
1 file changed
.github/workflows/build.yml
@@ -100,12 +100,16 @@ jobs:
100
git config user.name "github-actions[bot]"
101
git config user.email "github-actions[bot]@users.noreply.github.com"
102
103
- # Verplaats PDFs naar root (optioneel)
104
if [[ "${{ steps.config.outputs.grep }}" == "true" ]] && ls static/*.pdf 1>/dev/null 2>&1; then
105
mv static/*.pdf .
106
fi
107
108
- git add snapshot.html *.pdf $CHECK_DIR/*.txt
+ git add snapshot.html $CHECK_DIR/*.txt
+
109
+ if compgen -G "*.pdf" > /dev/null; then
110
+ git add *.pdf
111
+ fi
112
113
git commit -m "Snapshot + checks gegenereerd" || echo "No changes to commit"
114
git push --force-with-lease origin HEAD:main
115
0 commit comments