We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a01946 commit 1810688Copy full SHA for 1810688
.github/workflows/ci.yml
@@ -57,7 +57,13 @@ jobs:
57
58
build:
59
name: build distribution
60
- if: ${{ github.repository_owner == 'sphinx-doc' && github.ref == 'refs/heads/master' }}
+ if: |
61
+ ${{ github.repository_owner == 'sphinx-doc' &&
62
+ (
63
+ ( github.event_name == 'push' && github.ref == 'refs/heads/master' )
64
+ || ( github.event_name == 'release' )
65
+ )
66
+ }}
67
needs:
68
- tests
69
runs-on: ubuntu-latest
0 commit comments