Skip to content

Commit 30f62bd

Browse files
authored
Merge pull request #388 from jmmshn/patch_wf
Patch wf
2 parents 4eb3ad7 + a50bc7f commit 30f62bd

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Diff for: .github/workflows/pytest-docs.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
name: Build Docs
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
tags:
8-
- "v*"
9-
pull_request:
10-
branches:
11-
- main
4+
[release, workflow_dispatch]
125

136
jobs:
147
build:
@@ -41,7 +34,7 @@ jobs:
4134
cd docs_rst
4235
make html
4336
- name: Detect changes
44-
if: contains(github.ref, 'refs/heads/main')
37+
if: ${{ !contains(github.ref, 'refs/heads/main') }}
4538
id: changes
4639
shell: bash
4740
run: |

0 commit comments

Comments
 (0)