Fix Netlify deployments not publishing when expected (#12521)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
f0281886d7
commit
51f71567d7
2 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
report:
|
||||
if: github.event.workflow_run.conclusion != 'cancelled'
|
||||
name: Report results
|
||||
runs-on: ubuntu-latest
|
||||
environment: Netlify
|
||||
|
|
2
.github/workflows/netlify.yaml
vendored
2
.github/workflows/netlify.yaml
vendored
|
@ -8,7 +8,7 @@ on:
|
|||
- completed
|
||||
jobs:
|
||||
deploy:
|
||||
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
|
||||
if: github.event.workflow_run.conclusion != 'cancelled' && github.event.workflow_run.event == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
environment: Netlify
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue