Skip to content

Commit 0a4ac6b

Browse files
Update documentation setup
1 parent febb6f9 commit 0a4ac6b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/documentation.yml

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

3-
on: [push, pull_request, workflow_dispatch]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
workflow_dispatch:
49

510
permissions:
611
contents: write
@@ -24,4 +29,4 @@ jobs:
2429
publish_branch: gh-pages
2530
github_token: ${{ secrets.GITHUB_TOKEN }}
2631
publish_dir: _build/
27-
force_orphan: true
32+
force_orphan: true

0 commit comments

Comments
 (0)