Skip to content

docs(site): Show how to store the deploy token, and use the org npm scope - #20

Merged
WillieCubed merged 2 commits into
mainfrom
docs/cloudflare-guidance-refresh
Sep 24, 2026
Merged

WillieCubed merged 2 commits into
mainfrom
docs/cloudflare-guidance-refresh

Conversation

@WillieCubed

Copy link
Copy Markdown
Contributor

TL;DR

The production setup guide now shows how to store the Cloudflare deploy token and account ID with gh secret set, and the site package uses the org's npm scope.

Changes

The production deploy fails today because the GitHub production environment has no CLOUDFLARE_API_TOKEN. The setup guide explained how to create the account-owned token but not how to store it, so it now gives the exact gh secret set CLOUDFLARE_API_TOKEN --env production and CLOUDFLARE_ACCOUNT_ID commands.

apps/site was still named @lvbt/lvwwd-site. GitHub Packages only accepts the owning organization's scope, so the org standard is @lasvegasfortransit/*; the package is now @lasvegasfortransit/site, matching the template repositories. Nothing else referenced the old name. pnpm check (296 tests) and pnpm build pass.

Follow-ups and Next Work

A maintainer still has to create the token and run the documented commands.

🤖 Generated with Claude Code

WillieCubed and others added 2 commits September 23, 2026 21:19
GitHub Packages only accepts the @LasVegasForTransit scope, and every
other workspace dependency here already uses it. Rename apps/site's
own package from @lvbt/lvwwd-site to @lasvegasfortransit/site,
matching the name the template repositories use for their own
apps/site package. No other file referenced the old name; pnpm check
and a full build pass under the new one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The deploy token section only told a maintainer to paste the token
into pnpm bootstrap --production, with no direct way to store it.
The Deploy workflow needs CLOUDFLARE_API_TOKEN and
CLOUDFLARE_ACCOUNT_ID in the production GitHub environment before it
can publish lvwwd.org, so add the exact commands to set both without
running the full bootstrap tool: gh secret set CLOUDFLARE_API_TOKEN
--env production (value from standard input) and gh secret set
CLOUDFLARE_ACCOUNT_ID --env production with the account ID shown in
the guide, since it is not a secret value.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@WillieCubed
WillieCubed merged commit 4063e43 into main Sep 24, 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