mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 18:15:23 +00:00
fix(ci): add wrangler config and upgrade to v4.45.3
- Add wrangler.toml with compatibility_date to fix CI deployment - Upgrade Wrangler from v3.90.0 to v4.45.3 - Simplify deploy command to use config file - Add wrangler.toml to workflow trigger paths Fixes CloudFlare Worker deployment failure due to missing compatibility_date parameter.
This commit is contained in:
1 parent
e9eb215d1f
commit
edc89c4a12
2 files changed
+10
-1
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user