An editorial flow that ends in a commit
From draft through preview to publish — what the day-to-day editorial workflow looks like when Git sits behind every release.
Great architecture is worthless if the editorial team hates working in it. That is why we built the HugoPress editorial flow around three simple states.
Three states of an article
- Draft — the author writes in the editor, saves whenever, nothing is published.
- Preview — one click renders the content and deploys it to a preview site that is identical to production.
- Published — approved content is committed to the production repository and a build kicks off.
Preview equals production
Preview runs on the same template and the same pipeline as the live site. What you see in preview is what readers get — no deployment-day surprises.
Publishing as a commit
Publishing does not write to a database; it commits to Git. As a result, every released article has:
- an author and a commit timestamp,
- a readable diff (exactly what changed),
- the ability to roll back to any earlier version.
If the content has not changed, the publish is skipped — no empty commits.
Asynchronous, so it never blocks
The build and push run in the background over a message queue. An editor clicks Publish, gets instant feedback on the job status, and keeps working while a worker finishes the build.
That closes the loop: a comfortable editor at the front, Git in the middle, a lightning-fast static site at the back. The delivery details are covered in Why static sites win on the edge.