Skip to content

Commit 29af9b8

Browse files
committed
config aanpassing voor pdf
1 parent bbae159 commit 29af9b8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ jobs:
2424
id: config
2525
run: |
2626
echo "grep=false" >> $GITHUB_OUTPUT
27-
if grep -q alternateFormats ./js/config.js; then
28-
echo "grep=true" >> $GITHUB_OUTPUT
27+
if grep -q 'alternateFormats' ./js/config.js; then
28+
if grep -Pzoq 'alternateFormats:\s*\[\s*\{\s*label:\s*".+?",\s*uri:\s*".+?"\s*\}\s*\]' ./js/config.js; then
29+
echo "grep=true" >> $GITHUB_OUTPUT
30+
fi
2931
fi
3032
3133
- name: Copy pdf.js

0 commit comments

Comments
 (0)