We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13e54d6 commit 57d518cCopy full SHA for 57d518c
1 file changed
.github/workflows/publish-to-test-pypi.yml
@@ -2,9 +2,9 @@ name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2
3
on: push
4
5
-#on:
6
- #push:
7
- #branches: [master]
+ #on:
+#push:
+#branches: [master]
8
9
jobs:
10
build-n-publish:
@@ -31,6 +31,7 @@ jobs:
31
--out-dir dist/
32
.
33
- name: Publish distribution 📦 to Test PyPI
34
+ if: endsWith(github.ref, 'master')
35
uses: pypa/gh-action-pypi-publish@master
36
with:
37
password: ${{ secrets.test_pypi_password }}
0 commit comments