Asger Geel Weirsøe 2a18604b25
Build & Deploy / deploy (push) Successful in 3m9s
Require an approval stamp on every blog post before building
Posts are written in a private drafts repo and only reach this repo through
an approval step that stamps them with an HMAC over path and content. The
deploy workflow now runs scripts/verify-approvals.mjs before the build and
refuses to build if a post is unstamped, changed after approval, or still
marked as a draft (this repo is public, so a draft here is already published).

PW_PREVIEW=1 builds the site under /udkast for the private review page:
noindex, a banner, no service worker, sitemap or comments.

The nine existing posts are stamped as approved.

Claude-Session: https://claude.ai/code/session_01JmhJG6JnhXfzNiKv8f2vHu
2026-10-08 21:47:12 +02:00

asger.weirsoe.dk

Personlig side (CV + blog) bygget med Astro + Bun + Tailwind. Statisk output, selvhostet bag nginx, deployet via Gitea Actions.

Udvikling

bun install
bun run dev      # http://localhost:4321
bun run build    # -> dist/

Nyt blogindlæg

Læg en .md-fil i src/content/blog/ med frontmatter (title, date, tags, description, draft). Push til main → bygges og deployes automatisk.

S
Description
Private webpage
Readme
3.7 MiB
Languages
HTML 71.1%
Python 21%
CSS 5.7%
Shell 1.1%
JavaScript 1.1%