Skip to content

chore(just): add export and deploy recipes - #8

Merged
AdamXweb merged 1 commit into
mainfrom
chore/just-deploy
Aug 11, 2026
Merged

chore(just): add export and deploy recipes#8
AdamXweb merged 1 commit into
mainfrom
chore/just-deploy

Conversation

@adamXbot

Copy link
Copy Markdown
Collaborator

Adds just deploy and just export so publishing is one command instead of a three-step incantation.

just export   # mint export -> unzip into dist/
just deploy   # export, then wrangler deploy --assets dist

export is a separate recipe declared as a dependency of deploy, so you can build and inspect what would ship without publishing it.

Workers, not Pages — Cloudflare's guidance is now "if you are starting a new project, use Workers instead of Pages", and static-asset requests on Workers are unmetered. The whole estate moves to the same shape.

I verified mint export produces a genuine pre-rendered static build: 27 pages of server-rendered HTML, no Mintlify account required.

The trade worth naming: exporting means giving up Mintlify's hosted search, analytics and AI chat, which are server-side. If you want those, connect the repo in the Mintlify dashboard and point the CNAME there instead — same hostname, different host. This PR does not force that decision; it just makes the export path a single command.

Validated with just --list. Nothing deploys automatically.

`just deploy` builds the Mintlify static export and publishes it to Cloudflare
Workers static assets. `just export` is split out as its own recipe and
declared as a dependency, so you can build the export without deploying — worth
having when you want to check what actually ships.

Workers rather than Pages: Cloudflare's guidance is now "if you are starting a
new project, use Workers instead of Pages", and static-asset requests on
Workers are unmetered. The whole estate is moving to the same shape.

`mint export` produces a real pre-rendered static build — I verified 27 pages
with server-rendered HTML, and it needs no Mintlify account. Note this does
mean giving up Mintlify's hosted search, analytics and AI chat, which are
server-side; connecting the repo in their dashboard instead is the alternative.
@AdamXweb
AdamXweb merged commit 396a97d into main Aug 11, 2026
1 check passed
@AdamXweb
AdamXweb deleted the chore/just-deploy branch August 11, 2026 06:56
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.

2 participants