diff --git a/.github/workflows/cd-pypi.yml b/.github/workflows/cd-pypi.yml index 9bb0073c..eb0d0b71 100644 --- a/.github/workflows/cd-pypi.yml +++ b/.github/workflows/cd-pypi.yml @@ -12,14 +12,14 @@ name: cd on: - push: {} - - release: - types: [created] + push: + branches: + - main jobs: deploy: - if: ${{ github.event_name == 'release' }} + # if: ${{ github.ref_type == 'tag' }} + if: ${{ github.ref_type == 'branch' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4