Skip to content

Commit 889b1bc

Browse files
committed
build docs on publish release only.
1 parent b7312b4 commit 889b1bc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/sphinx_doc_build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
release:
66
types:
77
- published
8-
push:
9-
branches:
10-
- main
118

129
env:
1310
# environment variables.
@@ -57,5 +54,5 @@ jobs:
5754
run: |
5855
git ls-files --others --exclude-standard
5956
git add ./api
60-
git commit -m "auto build docs"
57+
git commit -m "github action: auto build api docs"
6158
git push origin $GH_PAGES_BRANCH

0 commit comments

Comments
 (0)