Skip to content

Commit abbdd4d

Browse files
committed
wf
1 parent 1d6e912 commit abbdd4d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pytest-docs.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
pull_request:
1010
branches:
1111
- main
12+
release:
13+
types: [published]
1214

1315
jobs:
1416
build:
@@ -40,8 +42,8 @@ jobs:
4042
run: |
4143
cd docs_rst
4244
make html
43-
- name: Detect changes
44-
if: ${{ contains(github.ref, 'refs/heads/main') }}
45+
- name: Detect changes on release
46+
if: startsWith(github.head_ref, 'releases/')
4547
id: changes
4648
shell: bash
4749
run: |

0 commit comments

Comments
 (0)