Skip to content

Commit

Permalink
Check not draft and not prerelease
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Dudley <[email protected]>
  • Loading branch information
siladu committed Apr 24, 2024
1 parent f864d73 commit e12808a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ env:
registry: docker.io
jobs:
dockerPromoteX64:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.release.types == 'released' }}
# "released" === draft: false && prerelease: false
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.release.draft == false && github.event.release.prerelease == false }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
Expand Down

0 comments on commit e12808a

Please sign in to comment.