28 lines
1.4 KiB
Markdown
28 lines
1.4 KiB
Markdown
# Public Publication Workflow
|
|
|
|
This repository is a sanitized template derived from a private website-builder workflow repository.
|
|
|
|
## What belongs here
|
|
|
|
- Source content, Hugo layouts, reusable scripts, templates, and public-safe documentation.
|
|
- Placeholder deployment examples that preserve structure without exposing private infrastructure.
|
|
- Example environment variable names and `.env.example` values.
|
|
|
|
## What must stay out
|
|
|
|
- Real `.env` files and credentials.
|
|
- Raw subscriber, telemetry, database, CSV, JSONL, SQL, dump, backup, and export files.
|
|
- Generated site output under `public/` and `hugo-html-builder/public/`.
|
|
- Local logs, temporary output, virtual environments, caches, and compiled Python files.
|
|
- Private server IPs, hostnames, SSH users, key names, webhook URLs, and internal repo URLs.
|
|
|
|
## Release checklist
|
|
|
|
1. Copy only tracked source files needed for the template.
|
|
2. Exclude generated output and raw data artifacts.
|
|
3. Apply `sanitization-map.md` replacements.
|
|
4. Do not apply blind replacement directly over `sanitization-map.md`; keep the map public-safe, but preserve the replacement classes and human-review trail.
|
|
5. Run `powershell -ExecutionPolicy Bypass -File scripts/leak_scan.ps1` from the repository root on Windows, or run the equivalent `rg` commands on another shell.
|
|
6. Review all scan hits as blocker, review, accepted, or false-positive.
|
|
7. Write or update the publication receipt before committing.
|