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 e38c16c commit 07246a0Copy full SHA for 07246a0
.github/workflows/build_publish.yml
@@ -1,6 +1,8 @@
1
name: Build
2
3
-on: [push, pull_request]
+on:
4
+ release:
5
+ types: [created]
6
7
jobs:
8
build:
@@ -60,6 +62,6 @@ jobs:
60
62
path: ./wheels
61
63
- name: Publish
64
env:
- TWINE_USERNAME: ${{ secrets.TPYPI_USERNAME }}
- TWINE_PASSWORD: ${{ secrets.TPYPI_PASSWORD }}
65
- run: twine upload --repository testpypi ./wheels/*
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
66
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
67
+ run: twine upload ./wheels/*
0 commit comments