Commit Graph
6 Commits
Author SHA1 Message Date
morpheus b59b3bca78 Mirror public/ to the server with rsync --delete
Build and deploy the poweronoff.click hugo / build (push) Successful in 45s
The scp deploy used rm:false, so deleted pages and images stayed on the server
forever (e.g. /howto-work-with-stan/ still answered 200 after its removal).

Replace appleboy/scp-action with an rsync --delete --delay-updates step:
- the webroot becomes an exact mirror of public/, deletions propagate
- --delay-updates applies new files last, so a failed run never leaves a
  half-synced site (unlike a pre-clean rm -rf)
- .well-known/ is excluded so ACME challenges survive
- fails loudly if the transfer breaks, instead of silently leaving stale files

Still password auth via sshpass (secrets unchanged); switching to an SSH key is
the remaining follow-up. AGENTS.md updated accordingly.
2026-11-06 10:13:49 +01:00
morpheus 9a02ee8111 Add agent tooling and restore the legal footer links
The footer override at layouts/partials/footer.html stopped being applied when
PaperMod moved its partials to layouts/_partials/: the Datenschutz and Impressum
links had silently vanished from the live site, and the copied theme JS was
stale. Drop the 135-line fork and get the links from params.footer.text, which
the theme renders itself.

Agentic setup:
- AGENTS.md: repo map, writing rules, guardrails, definition of done, backlog
- Makefile: dockerised build/serve/check/new/clean, pinned Hugo 0.169.0
- scripts/new-post.sh: creates a correct draft page bundle
- scripts/check-links.py: fails on unresolved internal links
- .editorconfig for consistent whitespace

CI/build:
- pin ghcr.io/gohugoio/hugo to v0.169.0 instead of :latest
- serialise runs per ref so deploys cannot race
- only send the Telegram notification for pushes

Also: trailing slash on the howto menu URL, ignore .hugo_build.lock, document the
dead Universal Analytics ID, and remove two unused duplicate images (304 KB).
2026-11-06 10:06:13 +01:00
Stan Nowogrudski aba695a47b Make workspace writable so the non-root Hugo container can build
Build and deploy the poweronoff.click hugo / build (push) Successful in 52s
2026-10-14 09:08:23 +02:00
Stan Nowogrudski 374a692b83 Update PaperMod to master, build with latest official Hugo image, fix pagination config
Build and deploy the poweronoff.click hugo / build (push) Failing after 34s
2026-10-14 09:06:18 +02:00
Stan Nowogrudski 7e0920ec1c Build Hugo via klakegg/hugo:0.87.0 container instead of downloading the binary
Build and deploy the poweronoff.click hugo / build (push) Successful in 59s
2026-10-14 08:54:48 +02:00
Stan Nowogrudski f8f6e63071 Migrate build workflow from Drone to Gitea Actions
Build and deploy the poweronoff.click hugo / build (pull_request) Canceled after 0s
2026-10-13 19:07:55 +02:00