diff --git a/.github/workflows/deploy-ccs-worker.yml b/.github/workflows/deploy-ccs-worker.yml index 460a56f3..a2e58204 100644 --- a/.github/workflows/deploy-ccs-worker.yml +++ b/.github/workflows/deploy-ccs-worker.yml @@ -5,6 +5,7 @@ on: branches: [main] paths: - 'scripts/worker.js' + - 'scripts/wrangler.toml' - 'installers/**' # Allow manual trigger @@ -25,4 +26,5 @@ jobs: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} workingDirectory: scripts - command: deploy worker.js --name ccs-installer + wranglerVersion: "4.45.3" + command: deploy diff --git a/scripts/wrangler.toml b/scripts/wrangler.toml new file mode 100644 index 00000000..93cc9bf7 --- /dev/null +++ b/scripts/wrangler.toml @@ -0,0 +1,7 @@ +name = "ccs-installer" +main = "worker.js" +compatibility_date = "2025-11-02" +workers_dev = true + +# CloudFlare Worker configuration for CCS installer +# This worker serves platform-specific installation scripts