Commit Graph

5 Commits

Author SHA1 Message Date
7764f0fde0 hugo: Move to Quadlet, minify HTML by default 2023-08-12 17:01:17 +01:00
ddc2f50505 hugo: Always hard-reset to origin after fetching 2022-10-29 17:38:39 +01:00
453c8a88f3 hugo: Use branch name from payload if possible
Gitea and Gitlab allow for filtering push events based on the branch
name, so we assume that webhook payloads don't need to be filtered based
on the branch in these cases. Github doesn't allow for this sort of
filtering, so we have to specify a default branch to filter on.
2022-10-29 15:56:46 +01:00
f2ab86f5bf hugo: Clone with depth=1, reset after fetch 2022-10-29 11:25:23 +01:00
a99e97abfe hugo: Switch to webhook-based builder
This commit switches Hugo to a webhook-based building process, with
support for Github, Gitlab, and Gitea hooks (including local versions of
Gitea) initially. In addition, Hugo-based sites are now intended to be
served under a single volume, with ingress configuration pointing to
sub-paths into the volume.

Documentation for webhook setup and NGINX proxy configuration is still
underway, and will be filled in later.
2022-10-28 17:52:05 +01:00