diff --git a/.github/workflows/pipeline-deploy-account-infrastructure.yaml b/.github/workflows/pipeline-deploy-account-infrastructure.yaml index c041bf01..d52849c4 100644 --- a/.github/workflows/pipeline-deploy-account-infrastructure.yaml +++ b/.github/workflows/pipeline-deploy-account-infrastructure.yaml @@ -141,7 +141,7 @@ jobs: permissions: id-token: write contents: read - if: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') && (needs.plan-infrastructure.outputs.plan_result == 'true') }} + if: ${{ (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') && (needs.plan-infrastructure.result == 'success') }} needs: - metadata - plan-infrastructure