From c5f8a1ac63f9e788ec8b9f2f3add68346da9ed08 Mon Sep 17 00:00:00 2001 From: Sead Feng Date: Fri, 23 Aug 2024 15:57:39 +0800 Subject: [PATCH] update --- .github/workflows/deploy-to-pages.yml | 2 +- .github/workflows/deploy-to-preview.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-pages.yml b/.github/workflows/deploy-to-pages.yml index a5dbe8d..5287f6a 100644 --- a/.github/workflows/deploy-to-pages.yml +++ b/.github/workflows/deploy-to-pages.yml @@ -27,7 +27,7 @@ jobs: else echo "Project exists, skipping creation." fi - npm run pages:build && wrangler pages deploy --branch main + npm run pages:build && npx wrangler pages deploy --branch main env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} diff --git a/.github/workflows/deploy-to-preview.yml b/.github/workflows/deploy-to-preview.yml index d535d80..6263edc 100644 --- a/.github/workflows/deploy-to-preview.yml +++ b/.github/workflows/deploy-to-preview.yml @@ -38,7 +38,7 @@ jobs: echo "Project exists, skipping creation." fi sed -i 's/redirectchecker/redirectchecker-preview/' wrangler.toml - npm run pages:build && wrangler pages deploy --branch main + npm run pages:build && npx wrangler pages deploy --branch main env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}