Skip to content

Commit 2655ae4

Browse files
authored
Add path filter for docs in gh-pages workflow
Publish documentation on pushes to bugfix in addition to master. This will be useful for fixing urgent documentation issues without waiting for a week for the next bugfix release
1 parent 3a2f66a commit 2655ae4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ name: github-pages
33
on:
44
workflow_dispatch:
55
push:
6+
paths:
7+
- 'docs/**'
68
branches:
79
- master
10+
- bugfix
811

912
# Taken from https://github.com/marketplace/actions/hugo-setup#%EF%B8%8F-workflow-for-autoprefixer-and-postcss-cli
1013
# Both builds have to be one worflow as otherwise one publish will overwrite the other

0 commit comments

Comments
 (0)