diff --git a/.github/workflows/deploy-v2.yml b/.github/workflows/deploy-v2.yml index 7d2d954..7f235a1 100644 --- a/.github/workflows/deploy-v2.yml +++ b/.github/workflows/deploy-v2.yml @@ -152,10 +152,10 @@ jobs: run: shell: bash needs: [set-state, build-auto-generated-files] - if: | - always() && - github.repository_owner == 'AdobeDocs' && - needs.set-state.result == 'success' + if: >- + !cancelled() && + needs.set-state.result == 'success' && + needs.set-state.outputs.has_app_secrets == 'true' runs-on: ubuntu-latest steps: - name: Checkout