diff --git a/.github/workflows/juce_private_build.yml b/.github/workflows/juce_private_build.yml index 0f50b161e0..107c409e10 100644 --- a/.github/workflows/juce_private_build.yml +++ b/.github/workflows/juce_private_build.yml @@ -74,7 +74,7 @@ jobs: cpp-std: ${{ inputs.cpp-std }} secrets: inherit deploy: - if: ${{ contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.cpp-std == '' && inputs.nightly-targets == '[]' }} + if: ${{ !cancelled() && (success() || needs.build.result == 'skipped') && contains(fromJSON('["master", "develop"]'), github.ref_name) && inputs.cpp-std == '' && inputs.nightly-targets == '[]' }} needs: [build] name: Deploy uses: juce-framework/JUCE-utils/.github/workflows/deploy.yml@master