Skip to content

Commit

Permalink
ci: use test links CF page
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv authored Jun 10, 2024
1 parent 2fd9d5d commit 902faf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
npm i -g wrangler
echo "Deploying build to Cloudflare Pages"
directory='dist'
projectName=${{ secrets.CLOUDFLARE_PROJECT_NAME }}
projectName=${{ secrets.CLOUDFLARE_TEST_LINK_PROJECT_NAME }}
branch=$(echo "$HEAD_BRANCH" | head -c 20 | sed 's/[\/_\.]/-/g; s/[^a-zA-Z0-9]$/1/')
cf_preview_url=$(wrangler pages deploy $directory --project-name=$projectName --branch=$branch > log.txt 2>&1; echo $?)
echo "------"
Expand Down

0 comments on commit 902faf2

Please sign in to comment.