From b410469a478e87dafbb476d4ce3450c5b04535d1 Mon Sep 17 00:00:00 2001 From: Willin Wang Date: Thu, 28 Dec 2023 20:51:32 +0800 Subject: [PATCH] ci(web): :fire: fix web ci config --- .github/workflows/deploy.yml | 4 ++-- apps/website/wrangler.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6daba1b..9d00792 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,7 @@ jobs: uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CF_API_TOKEN }} - command: publish --config wrangler.toml + command: deploy --config wrangler.toml workingDirectory: apps/sso # secrets: | # AFDIAN_CLIENT_ID @@ -68,6 +68,6 @@ jobs: uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CF_API_TOKEN }} - command: publish --config apps/website/wrangler.toml + command: deploy --config apps/website/wrangler.toml env: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} diff --git a/apps/website/wrangler.toml b/apps/website/wrangler.toml index a2dc7d2..9239214 100644 --- a/apps/website/wrangler.toml +++ b/apps/website/wrangler.toml @@ -8,7 +8,7 @@ routes = [ { pattern = "sso.v0.md", custom_domain = true } ] site = { bucket = "./.cloudflare/public" } -build = { command = "npm run build" } +# build = { command = "npm run build" } [env.dev] workers_dev = true