diff --git a/.github/workflows/itcast-build-and-deploy.yml b/.github/workflows/itcast-build-and-deploy.yml index c8858f6..2a8d61e 100644 --- a/.github/workflows/itcast-build-and-deploy.yml +++ b/.github/workflows/itcast-build-and-deploy.yml @@ -2,13 +2,14 @@ name: ItcastBuildAndDeploy on: workflow_run: - workflows: [ItcastBuildAndTest] - types: [completed] + workflows: ["ItcastBuildAndTest"] + types: + - completed jobs: deploy: if: > - github.event.workflow_run.event == 'push' + github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest permissions: contents: read