diff options
| author | TiejunZhou <[email protected]> | 2023-11-24 15:41:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-24 15:41:34 +0800 |
| commit | e420e2fa02844aeb9fbbe56ebd6b060ccc9bdaa7 (patch) | |
| tree | 2a11e376797ec41c383c71546e8bd0771554ad5a | |
| parent | 5f9c713c4805b2fb412889be213fee676f328809 (diff) | |
Restrict deploy run condition (#325)
* Restrict deploy run condition
* Fail the job for testing purpose
* Revert "Fail the job for testing purpose"
This reverts commit 6ae18cafe285f07443137b85493f69f95e738c3d.
| -rw-r--r-- | .github/workflows/regression_template.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/regression_template.yml b/.github/workflows/regression_template.yml index 9d60e0de..ce124fd8 100644 --- a/.github/workflows/regression_template.yml +++ b/.github/workflows/regression_template.yml @@ -144,7 +144,7 @@ jobs: deploy_code_coverage: runs-on: ubuntu-latest - if: ${{ (github.event_name == 'push') && !inputs.skip_deploy && always() }} + if: ${{ (github.event_name == 'push') && !inputs.skip_deploy && !failure() && !cancelled() }} needs: run_tests environment: name: github-pages |
