diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml deleted file mode 100644 index 412fc08a..00000000 --- a/.github/workflows/publish-to-pypi.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: publish - -on: - release: - types: [created] - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3.1.0 - with: - python-version: "3.x" - - name: Install Poetry - uses: snok/install-poetry@v1.3 - - name: Build - run: | - poetry build - - name: Publish distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }}