Skip to content

Commit d8007d5

Browse files
committed
Expand release change detection for site assets
1 parent eedac54 commit d8007d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
id: changes
3333
run: |
3434
if [ "${{ github.event_name }}" = "push" ] && [ -n "${{ github.event.before }}" ] && [ "${{ github.event.before }}" != "0000000000000000000000000000000000000000" ]; then
35-
CONTENT_CHANGES=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" 2>/dev/null | grep -E '^(README\.md|TUTORIAL\.md|CREDITS\.md|docs/|skills/|\.github/workflows/jekyll-gh-pages\.yml)' || true)
35+
CONTENT_CHANGES=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" 2>/dev/null | grep -E '^(README\.md|TUTORIAL\.md|CREDITS\.md|docs/|skills/|github-pages/|scripts/|\.github/workflows/jekyll-gh-pages\.yml)' || true)
3636
else
37-
CONTENT_CHANGES=$(git ls-files README.md TUTORIAL.md CREDITS.md docs skills .github/workflows/jekyll-gh-pages.yml 2>/dev/null || true)
37+
CONTENT_CHANGES=$(git ls-files README.md TUTORIAL.md CREDITS.md docs skills github-pages scripts .github/workflows/jekyll-gh-pages.yml 2>/dev/null || true)
3838
fi
3939
if [ -n "$CONTENT_CHANGES" ]; then
4040
echo "Documentation or packaging changes detected:"

0 commit comments

Comments
 (0)