mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-07 22:20:18 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user