From 5ab44479ccb368f50b8fa768a719abd43d189053 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 4 Nov 2025 02:38:41 +0000 Subject: forge: Promote website CI job to its own field. With the website CI job in its own field, we can reduce boilerplate around installing the built website at the correct path. --- doc/forge.skb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc/forge.skb') diff --git a/doc/forge.skb b/doc/forge.skb index 1703544..de6f1bc 100644 --- a/doc/forge.skb +++ b/doc/forge.skb @@ -564,9 +564,11 @@ gunicorn is run in])))))) [File-like object representing directory to serve as the document root of the guix-forge web interface]) (record-field "websites-directory" - [Directory containing websites for each project. Each project -must put its website here in a subdirectory with the same name as the -project. This is usually achieved using a CI job.]) + [Directory containing websites for each project. Each +project's website is put in a subdirectory with the same name as the +project. Project websites are built by the ,(abbr :short "CI" :long +"continuous integration") job configured in its ,(record-field-ref +"" "website-ci-job").]) (record-field "projects" [List of ,(record-ref "") objects describing projects managed by guix-forge])) @@ -592,8 +594,11 @@ remote.]) will be served at ,(samp "//") on the ,(record-field-ref "" "web-domain") configured in ,(record-ref "").]) + (record-field "website-ci-job" + [,(record-ref "") object describing ,(abbr +:short "CI" :long "continuous integration") job to build website]) (record-field "ci-jobs" - [List of ,(record-ref "") objects + [List of other ,(record-ref "") objects describing ,(abbr :short "CI" :long "continuous integration") jobs to configure]) (record-field "ci-jobs-trigger" -- cgit 1.4.1