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