Skip to content

Commit e420e2f

Browse files
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 6ae18ca.
1 parent 5f9c713 commit e420e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/regression_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144

145145
deploy_code_coverage:
146146
runs-on: ubuntu-latest
147-
if: ${{ (github.event_name == 'push') && !inputs.skip_deploy && always() }}
147+
if: ${{ (github.event_name == 'push') && !inputs.skip_deploy && !failure() && !cancelled() }}
148148
needs: run_tests
149149
environment:
150150
name: github-pages

0 commit comments

Comments
 (0)