Skip to content

Commit 37498f0

Browse files
committed
Avoid redeployments for PDF-only changes
1 parent 2bc4d63 commit 37498f0

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$' | wc -l)
80+
git_changes=$(git status --porcelain | grep --invert-match --regexp=' sitemap\.xml$' --regexp=' search-index\.js$' --regexp=' .+\.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)