From 692f1538ba0f684227a80004b9a0abe0bdb8a61d Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Tue, 28 May 2024 21:48:00 +0100 Subject: [PATCH] Fix cd-pypi github action (#392) --- .github/workflows/cd-pypi.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) 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