Skip to content

Commit

Permalink
Only deploy docs when "docs/" folder changed (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt authored Mar 3, 2024
1 parent cd0084f commit dd8ccf9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docs_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ on:
push:
branches:
- main
paths:
# We only build and deploy a new version, when a user relevant files
# changed.
- "docs/**"
# We trigger also this workflow, if this workflow is changed, so that new
# changes will be applied.
- ".github/workflows/docs_cd.yml"
# The following paths are excluded from the above paths. It's important to
# list the paths at the end of the file, so that the exclude paths are
# applied.
#
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-and-excluding-paths.
- "!website/README.md"
- "!**/*.gitignore"

# Set permissions to none.
#
Expand Down

0 comments on commit dd8ccf9

Please sign in to comment.