diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 68424f106..4e971e8e8 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -60,25 +60,3 @@ jobs: with: verbose: true print-hash: true - - publish-to-test-pypi: - name: "Publish to Test PyPI" - runs-on: ubuntu-latest - needs: [ build ] - environment: - name: testpypi - url: https://pypi.org/p/pipecat-ai - permissions: - id-token: write - steps: - - name: Download wheels - uses: actions/download-artifact@v4 - with: - name: wheels - path: ./dist - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - verbose: true - print-hash: true - repository-url: https://test.pypi.org/legacy/ diff --git a/.github/workflows/publish_test.yaml b/.github/workflows/publish_test.yaml index 2daeef5d6..2e2b2a3d6 100644 --- a/.github/workflows/publish_test.yaml +++ b/.github/workflows/publish_test.yaml @@ -2,11 +2,9 @@ name: publish-test on: workflow_dispatch: - pull_request: + push: branches: - - "**" - paths-ignore: - - "docs/**" + - main jobs: build: @@ -42,7 +40,7 @@ jobs: name: wheels path: ./dist - publish-to-pypi: + publish-to-test-pypi: name: "Publish to Test PyPI" runs-on: ubuntu-latest needs: [ build ]