diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3814bb1e..0309899b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: CI/CD -on: [pull_request, push, workflow_dispatch] +on: [pull_request, workflow_dispatch] jobs: test: @@ -31,7 +31,7 @@ jobs: uses: codecov/codecov-action@v1 publish: needs: test - if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'supabase-community' }} + if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && github.repository_owner == 'supabase-community' }} runs-on: ubuntu-latest name: "Bump version, create changelog and publish" environment: diff --git a/.github/workflows/manual_pypi_publish.yml b/.github/workflows/manual_pypi_publish.yml deleted file mode 100644 index 16cfb176..00000000 --- a/.github/workflows/manual_pypi_publish.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Manual PyPi Publish -on: - workflow_dispatch: - inputs: - username: - description: PyPi Username - required: true - default: __token__ - password: - description: PyPi Password - required: true -jobs: - publish: - name: Manual PyPi Publish - runs-on: ubuntu-latest - steps: - - name: Clone Repository - uses: actions/checkout@v2 - - name: Set up Python '3.10' - uses: actions/setup-python@v2 - with: - python-version: '3.10' - - name: Set up Poetry - uses: abatilo/actions-poetry@v2.1.4 - with: - poetry-version: 1.1.12 - - name: Install dependencies - run: poetry install - - name: Publish to PyPi - run: poetry publish --build -u ${{ github.event.inputs.username }} -p ${{ github.event.inputs.password }}