Skip to content

Commit 1c0b608

Browse files
committed
Fix regex
1 parent b234007 commit 1c0b608

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
docs-repo
7878
cd docs-repo
7979
git status
80-
git_changes=$(git status --porcelain | grep --invert-match --regexp=' sitemap\.xml$' --regexp=' search-index\.js$' --regexp=' .+\.pdf$' | wc -l)
80+
git_changes=$(git status --porcelain | grep --invert-match --regexp=' sitemap\.xml$' --regexp=' search-index\.js$' --regexp=' \S*\.pdf' | wc -l)
8181
echo "Detected $git_changes change(s)"
8282
echo "git_changes=$git_changes" >> "$GITHUB_OUTPUT"
8383
- name: Push to docs.junit.org repo

0 commit comments

Comments
 (0)