Skip to content

About

Serve the frontend of the maelstrom repo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maelstrom-site

Production website repository for the maelstrom project.

This repository holds only the generated site artifact (_site/) plus the publishing harness. No .qmd, .R, private data, or Quarto caches are stored here.

How publishing works

RG-FIDES/maelstrom               RG-FIDES/maelstrom-site
------------------               -----------------------
_frontend-N/content/  --quarto-->  (rendered locally)
_frontend-N/_site/    --sync-->    _site/   --commit/push--> main
                                                              |
                                              Vercel Git integration
                                              (no build; serves _site/)
                                                              |
                                                https://<project>.vercel.app

Vercel is the production host. There is no build step on Vercel — _site/ is rendered locally and committed, and Vercel serves it as static output. The root URL resolves because Quarto writes a meta-refresh stub at _site/index.html pointing to content/index.html.

Vercel has no config file in this repo by design (matching the reference project); the settings live in the Vercel dashboard:

Setting Value
Framework Preset Other
Root Directory ./
Build Command override to empty
Output Directory _site
Install Command override to empty
Production Branch main
  1. Render the site in the source repo (maelstrom/_frontend-N) with Quarto, R, and the private data.

  2. From this repo, dry-run the transfer:

    ./scripts/sync-site.ps1 -Source 'C:\path\to\maelstrom\_frontend-1\_site'
  3. Review the ADD / CHANGE / DELETE report, then apply:

    ./scripts/sync-site.ps1 -Source 'C:\path\to\maelstrom\_frontend-1\_site' -Apply

    Add -AllowDelete only when deletions are intended.

  4. Commit and push _site/ to main. Vercel redeploys automatically on push.

The agent-facing version of this procedure lives in .github/skills/publish-generated-site/SKILL.md.

Secondary targets

  • .github/workflows/deploy.yml mirrors _site/ to a gh-pages branch. This is carried over from the reference project, where GitHub Pages is not enabled — the branch exists but is not served. Enable Pages in repo settings only if you want a second public URL.
  • netlify.toml configures an optional Netlify deployment of the same _site/ artifact. Netlify is not connected by default; Vercel ignores this file.

About

Serve the frontend of the maelstrom repo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages