summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8d01138..5c08513 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -134,7 +134,7 @@ jobs:
134 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 134 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135 135
136 - name: PyPi publish 136 - name: PyPi publish
137 if: github.event_name == 'release' && github.event.action == 'created' 137 if: startsWith(github.ref, 'refs/tags/')
138 env: 138 env:
139 MATURIN_PASSWORD: ${{ secrets.PYPI }} 139 MATURIN_PASSWORD: ${{ secrets.PYPI }}
140 run: poetry run maturin publish --username __token__ 140 run: poetry run maturin publish --username __token__