From 6107c7fe23c4d8c6739b86c8e59d9a7483a3d901 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 9 Oct 2024 23:36:23 +0800 Subject: [PATCH] chore: Update Cloudflare Pages deployment configuration and project creation --- .github/workflows/deploy-to-cloudflare.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-cloudflare.yml b/.github/workflows/deploy-to-cloudflare.yml index 73ade7e..9e99b7c 100644 --- a/.github/workflows/deploy-to-cloudflare.yml +++ b/.github/workflows/deploy-to-cloudflare.yml @@ -44,4 +44,5 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - workingDirectory: dist + command: | + pnpm exec wrangler pages deploy dist --project-name=faker-server