summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiejunZhou <[email protected]>2023-11-24 15:41:34 +0800
committerGitHub <[email protected]>2023-11-24 15:41:34 +0800
commite420e2fa02844aeb9fbbe56ebd6b060ccc9bdaa7 (patch)
tree2a11e376797ec41c383c71546e8bd0771554ad5a
parent5f9c713c4805b2fb412889be213fee676f328809 (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.yml2
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