diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 00fdaed..3576ef3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -44,3 +44,9 @@ jobs: env_vars: OS,PYTHON name: codecov-umbrella fail_ci_if_error: true + - name: Publish package + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }}