diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml new file mode 100644 index 0000000..9ccbe0e --- /dev/null +++ b/.github/workflows/python-publish.yml @@ -0,0 +1,18 @@ +name: Upload Python Package +on: + release: + types: [published] + +permissions: + contents: read + +jobs: + deploy: + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build and publish to pypi + uses: JRubics/poetry-publish@v1.14 + with: + pypi_token: ${{ secrets.PYPI_TOKEN }}