From b27d9013b91263a132954667086fde27c8663191 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Sun, 17 Jan 2021 15:14:51 +0000 Subject: [PATCH] Update ci.yaml --- .github/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8cdc3c8..b56007b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,3 +37,8 @@ jobs: with: file: ./coverage.xml flags: unit + - name: Publish to PyPI + if: startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.PYPI_API_TOKEN }}