From fd98876ff70ed4387d40d0478bb93076659548a1 Mon Sep 17 00:00:00 2001 From: aliakbar-deriv Date: Wed, 8 Jan 2025 15:57:24 +0400 Subject: [PATCH] chore: update preview deploy workflow --- .github/workflows/preview-deploy.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml index 98018de..ab69662 100644 --- a/.github/workflows/preview-deploy.yml +++ b/.github/workflows/preview-deploy.yml @@ -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: