Skip to content

Add wrangler config for Workers Builds deploys - #6

Merged
kotevcode merged 1 commit into
mainfrom
feat/wrangler-config
Aug 23, 2026
Merged

kotevcode merged 1 commit into
mainfrom
feat/wrangler-config

Conversation

@kotevcode

Copy link
Copy Markdown
Contributor

Adds wrangler.jsonc declaring the aips worker as assets-only, serving _site/ with clean-URL handling and the generated 404.html.

This is the missing half of auto-deploy: the worker currently has no git connection (all existing deployments are one-time direct uploads), so merges to main never trigger anything. With this config in the repo, connecting the repo in the dashboard (worker aips → Settings → Build → Connect repository: AntSeed/AIPs, branch main, build command npm run build, deploy command npx wrangler deploy) makes every merge build and deploy.

Also usable for manual deploys: npm run build && npx wrangler deploy.

@kotevcode
kotevcode merged commit 126043a into main Aug 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant