api
Some checks failed
Cloudflare Worker API Template / Deploy to ${{ github.ref_name }} environment (pull_request) Failing after 15s
Some checks failed
Cloudflare Worker API Template / Deploy to ${{ github.ref_name }} environment (pull_request) Failing after 15s
This commit is contained in:
@@ -5,25 +5,25 @@ compatibility_date = "2025-03-10"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[vars]
|
||||
name = 'cf-template-local'
|
||||
name = 'leave-agent-local'
|
||||
CM_BASE_URL = "https://cm.dev.svchub.com"
|
||||
DECRYPT_API_URL = "https://www.dev.humanizeiq.ai/api/dashboard-backend"
|
||||
DECRYPT_API_KEY = "XMCKhjOTTPJJzoSiNTmRTcQauvtGKRnUZNFlhWpjhTEaIdIeIdLFM"
|
||||
d1_databases= [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_test-db", database_id = "c020574a-5623-407b-be0c-cd192bab9545" }
|
||||
{ binding = "LEAVE_AGENT_DB", database_name = "leave-agent_test-db", database_id = "c020574a-5623-407b-be0c-cd192bab9545" }
|
||||
]
|
||||
|
||||
# Playtest Environment
|
||||
[env.playtest]
|
||||
name = "cf-template-playtest"
|
||||
name = "leave-agent-playtest"
|
||||
routes = [
|
||||
{ pattern = "cf-template.playtest.svchub.com", custom_domain = true }
|
||||
{ pattern = "leave-agent.playtest.svchub.com", custom_domain = true }
|
||||
]
|
||||
d1_databases = [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_playtest", database_id = "fd847b4b-e1e9-442e-9756-23c4540476e7" }
|
||||
{ binding = "LEAVE_AGENT_DB", database_name = "leave-agent_playtest", database_id = "fd847b4b-e1e9-442e-9756-23c4540476e7" }
|
||||
]
|
||||
r2_buckets = [
|
||||
{ binding = "CF_TEMPLATE_BUCKET", bucket_name = "cf-template-playtest" }
|
||||
{ binding = "LEAVE_AGENT_BUCKET", bucket_name = "leave-agent-playtest" }
|
||||
]
|
||||
[env.playtest.vars]
|
||||
WORKER_ENV = "playtest"
|
||||
@@ -32,15 +32,15 @@ DECRYPT_API_URL = "https://www.dev.humanizeiq.ai/api/dashboard-backend"
|
||||
|
||||
# Dev Environment
|
||||
[env.development]
|
||||
name = "cf-template-dev"
|
||||
name = "leave-agent-dev"
|
||||
routes = [
|
||||
{ pattern = "cf-template.dev.svchub.com", custom_domain = true }
|
||||
{ pattern = "leave-agent.dev.svchub.com", custom_domain = true }
|
||||
]
|
||||
d1_databases = [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_dev", database_id = "08a710a9-27ae-4886-9cab-c0a7ab204de9" }
|
||||
{ binding = "LEAVE_AGENT_DB", database_name = "leave-agent_dev", database_id = "08a710a9-27ae-4886-9cab-c0a7ab204de9" }
|
||||
]
|
||||
r2_buckets = [
|
||||
{ binding = "CF_TEMPLATE_BUCKET", bucket_name = "cf-template-dev" }
|
||||
{ binding = "LEAVE_AGENT_BUCKET", bucket_name = "leave-agent-dev" }
|
||||
]
|
||||
[env.development.vars]
|
||||
WORKER_ENV = "development"
|
||||
@@ -49,15 +49,15 @@ DECRYPT_API_URL = "https://www.dev.humanizeiq.ai/api/dashboard-backend"
|
||||
|
||||
# Production Environment
|
||||
[env.production]
|
||||
name = "cf-template-prod"
|
||||
name = " leave-agent-prod"
|
||||
routes = [
|
||||
{ pattern = "cf-template.prod.svchub.com", custom_domain = true }
|
||||
{ pattern = "leave-agent.prod.svchub.com", custom_domain = true }
|
||||
]
|
||||
d1_databases = [
|
||||
{ binding = "CF_TEMPLATE_DB", database_name = "cf-template_prod", database_id = "2983ec1a-3c9c-451d-b85e-5a52ff9b114a" }
|
||||
{ binding = "LEAVE_AGENT_DB", database_name = "leave-agent_prod", database_id = "2983ec1a-3c9c-451d-b85e-5a52ff9b114a" }
|
||||
]
|
||||
r2_buckets = [
|
||||
{ binding = "CF_TEMPLATE_BUCKET", bucket_name = "cf-template-prod" }
|
||||
{ binding = "LEAVE_AGENT_BUCKET", bucket_name = "leave-agent-prod" }
|
||||
]
|
||||
[env.production.vars]
|
||||
WORKER_ENV = "production"
|
||||
|
||||
Reference in New Issue
Block a user