Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ yarn storybook
yarn build-storybook
```

## Cloudflare beta deployment
## Cloudflare deployment

The beta Worker serves the Vite build and handles the NotifyComp token endpoint. Its custom domain is
`beta.competitiongroups.com`; production remains on Netlify until the main-domain cutover.
The Cloudflare Worker serves the Vite build and handles the NotifyComp token endpoint. Its custom domain is
`main.competitiongroups.com`; production remains on Netlify until the main-domain cutover.

Cloudflare Workers Builds deploys commits pushed to the `beta` branch to the beta Worker. Pull
requests targeting `beta` create preview deployments. The build uses `yarn run build` followed
Cloudflare Workers Builds deploys commits pushed to the `main` branch to this Worker. Pull
requests targeting `main` create preview deployments. The build uses `yarn run build` followed
by `npx wrangler deploy`; set the public `VITE_WCA_CLIENT_ID` build variable in Cloudflare for
WCA sign-in. Runtime secrets belong in Worker secrets, not build variables.

Expand Down
2 changes: 1 addition & 1 deletion wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"compatibility_date": "2026-11-23",
"routes": [
{
"pattern": "beta.competitiongroups.com",
"pattern": "main.competitiongroups.com",
"custom_domain": true,
},
],
Expand Down
Loading