Skip to content

Commit b105c88

Browse files
authored
fix: Docs should only publish on pushes to main with docs path. (#321)
### Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] Documentation update (improves or adds clarity to existing documentation)
1 parent 393d1e5 commit b105c88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish_docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- '.github/workflows/publish_docs.yml'
9+
- 'docs/**'
710
workflow_dispatch:
811
jobs:
912
publish:

0 commit comments

Comments
 (0)