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