diff --git a/.github/workflows/itcast-build-and-deploy.yml b/.github/workflows/itcast-build-and-deploy.yml index 79772bd1..4177446c 100644 --- a/.github/workflows/itcast-build-and-deploy.yml +++ b/.github/workflows/itcast-build-and-deploy.yml @@ -1,18 +1,15 @@ name: BuildAndDeploys on: - push: - branches: - - main - - issue/** - pull_request: - branches: - - main - - issue/** + workflow_run: + workflows: ["BuildAndTest"] + types: + - completed jobs: deploy: + if: github.run_conclusion == 'success' runs-on: ubuntu-latest permissions: contents: read