Deploy package to PyPi on the master push

This commit is contained in:
Ivan Kravets
2022-07-09 21:41:52 +03:00
parent 7637286efa
commit 9051677d74

View File

@ -4,8 +4,6 @@ on:
push:
branches:
- "release/**"
tags:
- v*
jobs:
deployment:
@ -39,7 +37,7 @@ jobs:
run: python setup.py sdist
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
if: ${{ github.ref == 'refs/heads/master' }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__