Skip to content

Commit 9051677

Browse files
committed
Deploy package to PyPi on the master push
1 parent 7637286 commit 9051677

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/deployment.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
push:
55
branches:
66
- "release/**"
7-
tags:
8-
- v*
97

108
jobs:
119
deployment:
@@ -39,7 +37,7 @@ jobs:
3937
run: python setup.py sdist
4038

4139
- name: Publish package to PyPI
42-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
40+
if: ${{ github.ref == 'refs/heads/master' }}
4341
uses: pypa/gh-action-pypi-publish@release/v1
4442
with:
4543
user: __token__

0 commit comments

Comments
 (0)