Skip to content

Commit

Permalink
chore: update preview deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakbar-deriv committed Jan 8, 2025
1 parent 676b5e4 commit fd98876
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,6 @@ jobs:
with:
preview: true

- name: Handle Deploy Failure
if: failure() && steps.deployment.outcome == 'failure'
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '❌ Preview deployment failed. Check the workflow logs for details.'
});
core.setFailed('Preview deployment failed');
- name: Comment PR
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit fd98876

Please sign in to comment.