Skip to content

Commit

Permalink
ci: specify paths triggering book publish
Browse files Browse the repository at this point in the history
Specify docs, overrides, includes and mkdocs.yaml as the paths to
trigger the workflow

Avoid having to specify every file that should not trigger the workflow
  • Loading branch information
practicalli-johnny committed Jun 4, 2023
1 parent f821add commit 7480f9c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ on:
workflow_run:
workflows:
- "MegaLinter"
paths-ignore:
- README.md
- CHANGELOG.md
- .gitignore
paths:
- "docs/**"
- "includes/**"
- "overrides/**"
- "mkdocs.yaml"
branches:
- main
types:
Expand Down

0 comments on commit 7480f9c

Please sign in to comment.