Skip to content

Commit

Permalink
Fix cd-pypi github action (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz authored May 28, 2024
1 parent fc53d1e commit 692f153
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/cd-pypi.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 692f153

Please sign in to comment.