Skip to content

Commit 62c4967

Browse files
committed
Only rebuild docs when changed
They change when: * `cli-kit` gets a version bump * Anything in `docs` is directly updated
1 parent 1a4ff9c commit 62c4967

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Build and Deploy GitHub Pages Site
33
on:
44
push:
55
branches: ["main"]
6+
paths:
7+
- packages/cli-kit/package.json
8+
- "docs/**"
9+
610
workflow_dispatch:
711

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

0 commit comments

Comments
 (0)