diff --git a/.github/workflows/build-and-deploy-test.yml b/.github/workflows/build-and-deploy-test.yml index e9e4ccd0..45cec38b 100644 --- a/.github/workflows/build-and-deploy-test.yml +++ b/.github/workflows/build-and-deploy-test.yml @@ -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 "------"