From 5ec97a6763acfe5a751e831ab071140e0da314c1 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Wed, 5 Jun 2024 15:57:19 +0800 Subject: [PATCH] ci: remove unneeded steps --- .github/workflows/build-and-deploy-staging.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/build-and-deploy-staging.yml b/.github/workflows/build-and-deploy-staging.yml index b704e26f..7f0fe315 100644 --- a/.github/workflows/build-and-deploy-staging.yml +++ b/.github/workflows/build-and-deploy-staging.yml @@ -64,10 +64,3 @@ jobs: echo "------" preview_url=https://$branch.$projectName.pages.dev cat log.txt - if grep -q "Deployment complete" log.txt; then - echo "preview_url=$preview_url" >> "$GITHUB_OUTPUT" - echo $preview_url > .pr/PREVIEW_URL - else - echo "Deployment to Cloudflare Pages failed." - exit 1 - fi