Skip to content

Commit 65bff2f

Browse files
Merge pull request #89 from computational-cell-analytics/pdoc-release
Build doc only on releae
2 parents 088e734 + 7405384 commit 65bff2f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build_docs.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: build_documentation
22

3-
# build the documentation whenever there are new commits on main
3+
# build the documentation for a new commit
44
on:
5-
push:
6-
branches:
7-
- main
8-
# TODO only build on releases once this works
9-
# Alternative: only build for tags.
10-
# tags:
11-
# - '*'
5+
release:
6+
types: created
7+
128

139
# security: restrict permissions for CI jobs.
1410
permissions:

0 commit comments

Comments
 (0)