Skip to content

Commit

Permalink
ci: restrict docs workflow from always running
Browse files Browse the repository at this point in the history
this commit updates the documentation building workflow to only run when anything in the docs directory is changed and pushed to main.
  • Loading branch information
soopyc committed Mar 21, 2024
1 parent 73494d2 commit ae57cc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
push:
branches:
- main
paths:
- "docs/**"

env:
SCCACHE_VERSION: v0.7.7
Expand Down

0 comments on commit ae57cc8

Please sign in to comment.