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 3a576ff commit 0aca4abCopy full SHA for 0aca4ab
.github/workflows/ci.yml
@@ -1,4 +1,4 @@
1
-name: Test
+name: Test, Build, Publish, Release
2
on:
3
push:
4
paths-ignore:
@@ -55,7 +55,7 @@ jobs:
55
56
build:
57
name: build distribution
58
- if: github.repository_owner == 'sphinx-doc'
+ if: github.repository_owner == 'sphinx-doc' && github.ref == 'refs/heads/master'
59
needs:
60
- tests
61
runs-on: ubuntu-latest
@@ -81,7 +81,7 @@ jobs:
81
82
publish-to-testpypi:
83
name: Upload release to TestPyPI
84
+ if: github.repository_owner == 'sphinx-doc' && github.ref == 'refs/heads/master' # only publish to TestPyPI on push to master
85
86
- build
87
0 commit comments