Files
poweronoff.click/.gitea
morpheus b59b3bca78
Build and deploy the poweronoff.click hugo / build (push) Successful in 45s
Mirror public/ to the server with rsync --delete
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
..