mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Add .github/workflows/nsite-archive.yml (push to any branch + workflow_dispatch): npm ci + npm run build, then upload dist/ as an artifact (bitvid-site-<branch>-<shortsha>, 30d retention). GitHub serves it as a .zip with index.html at the root, ready for a manual nsite publish. The workflow holds no signing key and publishes nothing. Also add an `archive` npm script for the same output locally (bitvid-site.zip, now gitignored), and land docs/nsite-mirror-plan.md revised to the manual-publish + auto-archive model: sign client-side via NIP-07 or local nsyte, never an nsec/nbunksec in CI. The prior CI-signing workflow is retained as a labeled Phase-3 reference option. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01DwbE3uTiFaKRNjx5vP2muV