Skip to content

Commit 74238d6

Browse files
author
Lionel Untereiner
authored
Update ci-publish.yml
1 parent e1e1890 commit 74238d6

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/ci-publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
name: Publish release
44

55
on:
6-
push:
7-
tags:
8-
# Run when a tag is pushed with a valid semantic version number
9-
- 'v[0-9]+.[0-9]+.[0-9]+'
6+
release:
7+
types: [published]
108

119
jobs:
1210
build:
@@ -108,4 +106,4 @@ jobs:
108106
- name: Upload to PyPI
109107
run: |
110108
poetry config repositories.test https://test.pypi.org/legacy/
111-
poetry publish --username ${{ secrets.POETRY_PYPI_TOKEN_USERNAME}} --password ${{ secrets.POETRY_PYPI_TOKEN_PASSWORD}}
109+
poetry publish --username ${{ secrets.POETRY_PYPI_TOKEN_USERNAME}} --password ${{ secrets.POETRY_PYPI_TOKEN_PASSWORD}}

0 commit comments

Comments
 (0)