diff --git a/.github/workflows/cd-pypi.yml b/.github/workflows/cd-pypi.yml index eb0d0b71..bfc8d0ec 100644 --- a/.github/workflows/cd-pypi.yml +++ b/.github/workflows/cd-pypi.yml @@ -1,25 +1,18 @@ name: cd -# on: -# push: -# tags: -# - '**' +on: + push: + tags: + - '**' # jobs: # pypi: # uses: ecmwf-actions/reusable-workflows/.github/workflows/cd-pypi.yml@v2 # secrets: inherit - -on: - push: - branches: - - main - jobs: deploy: - # if: ${{ github.ref_type == 'tag' }} - if: ${{ github.ref_type == 'branch' }} + if: ${{ github.ref_type == 'tag' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4