Skip to content

Commit da112c4

Browse files
committed
test
1 parent 14239ba commit da112c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101

102102
- name: Update deployment status
103103
uses: actions/github-script@v7
104+
if: steps.deployment.outputs.result.deploymentId
104105
with:
105106
script: |
106107
await github.rest.repos.createDeploymentStatus({
@@ -113,7 +114,7 @@ jobs:
113114
})
114115
115116
- name: Update Deployment Status on Failure
116-
if: !success() && steps.deployment.outputs.result.deploymentId
117+
if: failure() && steps.deployment.outputs.result.deploymentId
117118
uses: actions/github-script@v7
118119
with:
119120
script: |

0 commit comments

Comments
 (0)