mirror of
https://github.com/beilunyang/moemail.git
synced 2026-06-06 08:00:16 +08:00
chore: Update deploy script
This commit is contained in:
18
wrangler.cleanup.example.json
Normal file
18
wrangler.cleanup.example.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$schema": "node_modules/wrangler/config-schema.json",
|
||||
"name": "cleanup-worker",
|
||||
"main": "workers/cleanup.ts",
|
||||
"compatibility_date": "2024-03-20",
|
||||
"compatibility_flags": ["nodejs_compat"],
|
||||
"triggers": {
|
||||
"crons": ["0 * * * *"]
|
||||
},
|
||||
"d1_databases": [
|
||||
{
|
||||
"binding": "DB",
|
||||
"migrations_dir": "drizzle",
|
||||
"database_name": "${DATABASE_NAME}",
|
||||
"database_id": "${DATABASE_ID}"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user