feat: add the status page news and publish the site on every push to main
- add the news post about status.kmalloc.org - document the automatic publishing in the README
This commit is contained in:
parent
1b81184187
commit
8c3f4d29f7
1 changed files with 21 additions and 1 deletions
|
|
@ -47,4 +47,6 @@ The post is published at `/news/slug.html`. News are English only: the Italian p
|
|||
|
||||
## Publishing
|
||||
|
||||
I check every page with the Nu HTML Checker, then copy the output to the web root on the server.
|
||||
Pushing to `main` publishes the site. A post-receive hook in the Forgejo repository touches a trigger file, `deploy-kmalloc-site.path` on the server notices it and runs `deploy-kmalloc-site`, which builds `main` into a temporary directory and mirrors it into the web root. If the build fails nothing is copied.
|
||||
|
||||
I check every page with the Nu HTML Checker before pushing.
|
||||
|
|
|
|||
Loading…
Reference in a new issue