Commit Graph

16 Commits

Author SHA1 Message Date
renovate[bot]
d07e7f5025 chore(deps): update docker.io/golang:1.21-bookworm docker digest to 1415bb0 2023-12-21 12:13:30 +00:00
ad155d765e renovate.json: Fix regex matcher for Containerfile 2023-12-20 23:55:21 +00:00
renovate[bot]
ddefd2a959 chore(deps): pin dependencies 2023-12-20 23:17:49 +00:00
952df3d324 Update service versions with Renovate
This adds basic configuration for Renovate, and sets up most services
for automated updates to package versions.
2023-12-20 23:00:19 +00:00
c81390ba5a hugo: Update to 0.119.0, start on health-check pass 2023-11-05 16:48:28 +00:00
7764f0fde0 hugo: Move to Quadlet, minify HTML by default 2023-08-12 17:01:17 +01:00
17fc39ac02 hugo: Update to version 0.115.4, Debian Bookworm 2023-07-30 20:37:44 +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
b7ca813a40 Improve webhook behaviour for Gitea
Webhook execution in Gitea will now wait longer before returning, and
Hugo will correctly set permissions on destination directories.
2022-10-28 18:33:42 +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
0c5a483853 hugo: Fix build watch command 2022-09-19 14:55:56 +01:00
da043fce5e hugo: Watch for changes with hugo watch
In addition to changes made when Git repositories update, Hugo is able
to watch for timed changes to content (say, for content that has a
publication date in the future) and build these automatically.

This commit switches from a plain `hugo build` to a `hugo watch` process
to facilitate these use-cases.
2022-07-11 21:18:23 +01:00
115cb1e915 hugo: Checkout correct branch when cloning 2022-04-23 13:35:02 +01:00
3aea8f42d9 hugo: Add service for building Hugo-based sites
By default, a `hugo-build-local@.service` systemd service is included,
for building Hugo-based sites as stored in a local Git repository (as
served by the `git` service), and into a volume (which is intended to be
served by the `nginx-serve-volume` service).
2022-04-18 18:19:14 +01:00