From 34ee8bb87b1316fe44452476dd0ba0c4cc5e32bb Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 24 Jun 2025 11:59:22 +0200 Subject: [PATCH 1/4] WIP --- .forgejo/workflows/demo.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .forgejo/workflows/demo.yaml diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml new file mode 100644 index 0000000..935846f --- /dev/null +++ b/.forgejo/workflows/demo.yaml @@ -0,0 +1,13 @@ +on: + push: + branches: + - actions-test +jobs: + test: + runs-on: host + steps: + - run: git clone --depth=1 https://$FORGEJO_TOKEN@forge.cbaines.net/cbaines/guile-knots.git knots-trunk + - run: git clone --depth=1 https://$FORGEJO_TOKEN@forge.cbaines.net/cbaines/guile-knots.git --branch=pages knots-pages + - run: | + cd knots-trunk + guix shell -D -f guix-dev.scm -- documenta api knots From f7eae5a3bcf4b87aa0a5ad1d60e6a2f3adc0224b Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 24 Jun 2025 20:50:44 +0200 Subject: [PATCH 2/4] Add texinfo to guix-dev.scm --- guix-dev.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix-dev.scm b/guix-dev.scm index 62b170c..68d7763 100644 --- a/guix-dev.scm +++ b/guix-dev.scm @@ -30,6 +30,7 @@ (gnu packages guile) (gnu packages guile-xyz) (gnu packages pkg-config) + (gnu packages texinfo) (srfi srfi-1)) (package @@ -44,7 +45,8 @@ (list autoconf automake pkg-config - guile-documenta)) + guile-documenta + texinfo)) (synopsis "TODO") (description "TODO") (home-page "TODO") From 8401af84604aed8d997339b4583158aae4098c09 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 24 Jun 2025 11:59:22 +0200 Subject: [PATCH 3/4] WIP --- .forgejo/workflows/demo.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .forgejo/workflows/demo.yaml diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml new file mode 100644 index 0000000..935846f --- /dev/null +++ b/.forgejo/workflows/demo.yaml @@ -0,0 +1,13 @@ +on: + push: + branches: + - actions-test +jobs: + test: + runs-on: host + steps: + - run: git clone --depth=1 https://$FORGEJO_TOKEN@forge.cbaines.net/cbaines/guile-knots.git knots-trunk + - run: git clone --depth=1 https://$FORGEJO_TOKEN@forge.cbaines.net/cbaines/guile-knots.git --branch=pages knots-pages + - run: | + cd knots-trunk + guix shell -D -f guix-dev.scm -- documenta api knots From 27e6bc2a1d3156c323a0e74de86586b725f05f68 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 24 Jun 2025 20:56:56 +0200 Subject: [PATCH 4/4] WIP --- .forgejo/workflows/demo.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 935846f..87ff5f8 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -11,3 +11,12 @@ jobs: - run: | cd knots-trunk guix shell -D -f guix-dev.scm -- documenta api knots + guix shell texinfo -- makeinfo --css-ref=https://luis-felipe.gitlab.io/texinfo-css/static/css/texinfo-7.css --no-split --html -o pages/index.html doc/index.texi + + - run: | + cd knots-pages + git add . + git config user.email <> + git config user.name "Automatic website updater" + git commit -m "Automatic website update" + git push