Skip to content

Commit 55636b5

Browse files
authored
only build docs on release
1 parent 0bcb96b commit 55636b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Master Docs Publication"
22
on:
3-
push:
4-
branches: [ master ]
3+
release:
4+
types: created
55

66
jobs:
77
docs:
@@ -22,4 +22,4 @@ jobs:
2222
uses: peaceiris/actions-gh-pages@v3
2323
with:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
25-
publish_dir: ./docs/build/html
25+
publish_dir: ./docs/build/html

0 commit comments

Comments
 (0)