Skip to content

Commit b3aa7ec

Browse files
authored
Merge branch 'master' into an/new-docs
2 parents 37a873d + 4a74403 commit b3aa7ec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ name: Pages
22

33
on:
44
push:
5-
branches:
6-
- master
5+
paths:
6+
- "docs/**"
7+
pull_request:
8+
paths:
9+
- "docs/**"
710
workflow_dispatch:
811

912
permissions:
@@ -40,5 +43,6 @@ jobs:
4043
with:
4144
path: ./docs/_build/html
4245
- name: Deploy to GitHub Pages
46+
if: github.ref == 'refs/heads/master'
4347
id: deployment
4448
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)