Skip to content

Commit ccfe775

Browse files
committed
update workflow triggering
- only on main and when changes happen in docs folder
1 parent 7907f2e commit ccfe775

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/github-pages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: GitHub Pages deployment
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- "main"
7+
paths:
8+
- "docs/**"
69
workflow_dispatch:
710

811
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages

0 commit comments

Comments
 (0)