Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek committed Jan 22, 2025
1 parent 14239ba commit da112c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:

- name: Update deployment status
uses: actions/github-script@v7
if: steps.deployment.outputs.result.deploymentId
with:
script: |
await github.rest.repos.createDeploymentStatus({
Expand All @@ -113,7 +114,7 @@ jobs:
})
- name: Update Deployment Status on Failure
if: !success() && steps.deployment.outputs.result.deploymentId
if: failure() && steps.deployment.outputs.result.deploymentId
uses: actions/github-script@v7
with:
script: |
Expand Down

0 comments on commit da112c4

Please sign in to comment.