Skip to content

Commit 0eda443

Browse files
Build docs-next for prereleases (#425)
1 parent 34094f2 commit 0eda443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: make install
4848

4949
- name: Build docs (docs)
50-
if: startsWith(github.ref, 'refs/tags')
50+
if: startsWith(github.ref, 'refs/tags') && !contains(github.ref, '-rc')
5151
run: MDBOOK_ROOT=https://dipdup.net/docs make docs
5252

5353
- name: Deploy to GH Pages (docs)
@@ -59,7 +59,7 @@ jobs:
5959
destination_dir: docs
6060

6161
- name: Build docs (docs-next)
62-
if: startsWith(github.ref, 'refs/heads')
62+
if: startsWith(github.ref, 'refs/heads') || contains(github.ref, '-rc')
6363
run: MDBOOK_ROOT=https://dipdup.net/docs-next make docs
6464

6565
- name: Deploy to GH Pages (docs-next)

0 commit comments

Comments
 (0)