diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index c6968f1..0000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: publish to PyPI - -on: - release: - types: [ published ] - branches: [ main ] - workflow_dispatch: - -jobs: - build-and-publish: - runs-on: ubuntu-latest - - steps: - - name: Checkout sources - uses: actions/checkout@v3 - - - name: Setup Python - uses: actions/setup-python@v3 - with: - python-version: "3.x" - - - name: Install poetry and dependencies - run: | - python -m pip install --upgrade pip - python -m pip install poetry - - - name: Configure poetry - # env: - # pypi_token: ${{ secrets.PYPI_TOKEN }} - run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} - - - name: Build and publish - run: poetry publish --build