Skip to content

Deployment

The docs site is a static Astro build. It does not use Fly.io and does not run backend application code.

Build output

sites/identity-docs/dist

Worker

sites/identity-docs/worker.js delegates static file serving to the Workers Assets binding and adds security headers.

Wrangler config

{
"name": "tctdx-identity-docs",
"assets": {
"directory": "./dist",
"binding": "ASSETS"
},
"routes": [
{
"pattern": "identity.tctdx.com",
"custom_domain": true
}
]
}

Required Cloudflare permissions

The API token used by Wrangler must be able to deploy Workers and manage the custom domain route for identity.tctdx.com.