Skip to content

Commit ad36b28

Browse files
authored
Change deploy github action trigger (#300)
1 parent c373703 commit ad36b28

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python_publish.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
name: Upload package to local pypi server
55

66
on:
7-
release:
8-
types: [created]
7+
push:
8+
tags:
9+
- "v*"
910

1011
jobs:
1112
deploy:
@@ -29,4 +30,4 @@ jobs:
2930
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3031
run: |
3132
python setup.py sdist bdist_wheel
32-
twine upload dist/*
33+
twine upload dist/*

0 commit comments

Comments
 (0)