diff --git a/hosts/lab/sites.nix b/hosts/lab/sites.nix index dc113d5..164bb0f 100644 --- a/hosts/lab/sites.nix +++ b/hosts/lab/sites.nix @@ -16,8 +16,10 @@ # readWritePaths — paths the server can write to at runtime (default: []) # afterServices — systemd units to wait for before building (default: ["forgejo.service"]) # -# a listener is active on http://localhost:4323/hooks/${name}-rebuild for CD -# Forgejo repo -> settings -> Webhooks -> Add webhook +# remarks: +# +# - a listener is active on http://localhost:4323/hooks/${name}-rebuild for CD +# Forgejo repo -> settings -> Webhooks -> Add webhook { ... }: let @@ -47,4 +49,13 @@ in repo = "https://git.ily.rs/lew/penfield"; static = true; }; + + services.site.record-generator = { + enable = true; + domain = "c.ily.rs"; + repo = "https://git.ily.rs/lew/character-records-generator"; + static = true; + buildOutputDir = "build"; + packageManager = "npm"; + }; }