Skip to content

Commit 34921af

Browse files
committed
Fix: Trigger GitHub Pages deployment on docs/ changes
Add paths filter to static.yml workflow to trigger on docs/** changes. Ensures deployment runs automatically when HTML generation workflow commits updated docs/index.html. Fixes issue where updated HTML wasn't being deployed to live site.
1 parent 57a6059 commit 34921af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
# Runs on pushes targeting the default branch
66
push:
77
branches: ["main"]
8+
paths:
9+
- 'docs/**'
810

911
# Allows you to run this workflow manually from the Actions tab
1012
workflow_dispatch:

0 commit comments

Comments
 (0)