Skip to content

[stannesi] make cloudflare pages build explicit#48

Merged
stannesi merged 1 commit into
mainfrom
thehive/cloudflare-pages-build-config
Jun 10, 2026
Merged

[stannesi] make cloudflare pages build explicit#48
stannesi merged 1 commit into
mainfrom
thehive/cloudflare-pages-build-config

Conversation

@stannesi

Copy link
Copy Markdown
Contributor

Summary

  • add explicit root scripts for Cloudflare production and GitHub Pages staging builds
  • add root wrangler.toml with the Cloudflare Pages output directory
  • update the GitHub Pages workflow to call the GitHub Pages-specific build script
  • document exact Cloudflare Pages settings: repo root, pnpm viewer:demo:build:cloudflare, output apps/prd-viewer-web/dist

Notes

The pasted Cloudflare log stopped after dependency install, so the exact failing command line was not visible. This removes the likely ambiguity between Cloudflare project root, build command, base path, and output directory.

Validation

  • PATH="/opt/homebrew/bin:$PATH" pnpm viewer:demo:build:cloudflare
  • PATH="/opt/homebrew/bin:$PATH" pnpm viewer:demo:build:github-pages
  • PATH="/opt/homebrew/bin:$PATH" pnpm docs:check -- --include-root-docs
  • git diff --check
  • PATH="/opt/homebrew/bin:$PATH" pnpm foundation:gate

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
prd 3656728 Jun 10 2026, 04:44 AM

@stannesi stannesi merged commit 2b93788 into main Jun 10, 2026
2 of 3 checks passed
@stannesi stannesi deleted the thehive/cloudflare-pages-build-config branch June 10, 2026 04:45
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