diff --git a/.github/workflows/itcast-build-and-deploy.yml b/.github/workflows/itcast-build-and-deploy.yml index 6fbe0420..0eae7743 100644 --- a/.github/workflows/itcast-build-and-deploy.yml +++ b/.github/workflows/itcast-build-and-deploy.yml @@ -4,7 +4,7 @@ on: workflow_run: workflows: ["BuildAndTest"] types: - - requested + - completed jobs: deploy: @@ -13,6 +13,7 @@ jobs: contents: read packages: write deployments: write + if: github.event.workflow_run.conclusion == 'success' steps: