From 3526570dd35e5cb69ab5f9cc1c504fed8ea3df0a Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 12 Dec 2023 02:37:52 +0100 Subject: [PATCH] Run release only when previous step succeeded --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51f684e..3cb9cbf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,9 @@ on: - master jobs: - build: + dockerhub: + if: ${{ github.event.workflow_run.conclusion == 'success' }} + runs-on: ubuntu-latest steps: