Skip to content

deploy: Cloudflare static-assets config for nost-os.net - #15

Open
jacobyoby wants to merge 1 commit into
mainfrom
deploy/nost-os-net
Open

jacobyoby wants to merge 1 commit into
mainfrom
deploy/nost-os-net

Conversation

@jacobyoby

Copy link
Copy Markdown
Owner

What changed

  • wrangler.jsonc: worker nost-os-net, custom domains nost-os.net and www.nost-os.net, assets from the built www/.
  • src/.assetsignore: keeps *.test.cjs and data/proposals out of the upload. It lives in src/ because build:www rebuilds www/ from it.

No app or data change. The built page is byte-identical to what jacobrakai.org/nostos/ serves, apart from Cloudflare's injected script.

State

  • npx wrangler deploy uploaded the worker (version e3d7a0e1-ed68-4c0b-bede-536d660fdfe3) but Cloudflare refused to attach nost-os.net: the apex still has the registrar parking page's A/AAAA records (error 100117). The domain still shows the parking page.
  • To finish: delete the apex A and AAAA records for nost-os.net in the Cloudflare DNS dashboard (leave MX and TXT), then run npm run build:www && npx wrangler deploy again.

Verified

  • 17 JS tests, 8 Python tests, 51 adversarial tests and check:data (449 outlets) pass.
  • wrangler deploy --dry-run succeeds.

Not verified

  • Nothing is live on nost-os.net yet, so the ignore file's effect on served paths is unchecked.

🤖 Generated with Claude Code

Adds wrangler.jsonc (worker nost-os-net, custom domains nost-os.net and www.nost-os.net, assets from the built www/) and src/.assetsignore so test files and data/proposals are not uploaded. No app or data change.

This branch has not been deployed

No deployments
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