diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml new file mode 100644 index 0000000..bf88e4c --- /dev/null +++ b/.github/workflows/pypi-publish.yml @@ -0,0 +1,18 @@ +name: Publish Release to PYPI + +on: + push: + branches: + - main + +jobs: + deployment: + runs-on: ubuntu-latest + environment: release + steps: + - name: Build and Publish + uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - run: pip install poetry + - run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} + - run: poetry publish --build \ No newline at end of file