summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-11-08 09:17:20 +0200
committerLars Wirzenius <liw@liw.fi>2022-11-08 09:17:20 +0200
commitb785af096b363a5c56422ae7768ed544dc9fe4bd (patch)
treeabf719b09b310fb69b11f30746840da3304cc755
parentb2b69af4128c8679037e79b98d0b8b3ad0f24416 (diff)
downloadliw-ci-b785af096b363a5c56422ae7768ed544dc9fe4bd.tar.gz
fix: format_subplots should use .subplot files, not .md
We don't use .md as the root of a subplot anymore in Subplot. Sponsored-by: author
-rw-r--r--ci-prod.ick25
1 files changed, 20 insertions, 5 deletions
diff --git a/ci-prod.ick b/ci-prod.ick
index 794615d..bd49c4c 100644
--- a/ci-prod.ick
+++ b/ci-prod.ick
@@ -846,6 +846,21 @@ projects:
- dsilvers@digital-scurf.org
pipelines: *deb_ci_rustup_with_check_pipelines
+ - project: subplot-user-guide
+ parameters:
+ <<: *dummy_program_params
+ sources:
+ - name: code
+ repo: git://git.liw.fi/subplot
+ ref: main
+ location: src
+ workspace_name: subplot-user-guide
+ rsync_target: ickliwfi@http.liw.fi:/srv/http/doc.subplot.tech
+ notify:
+ - liw@liw.fi
+# - dsilvers@digital-scurf.org
+ pipelines: *deb_ci_rustup_with_check_pipelines
+
- project: obnam
parameters:
<<: *dummy_program_params
@@ -1243,17 +1258,17 @@ pipelines:
opts="--resources $(pwd)/src/share"
output=/workspace/publish
- find src -name "*.md" |
+ find src -name "*.subplot" |
grep -Fv .gitlab/ |
while read file
do
- base="$(basename "$file" .md)"
+ base="$(basename "$file" .subplot)"
(
cd "$(dirname "$file")"
- if subplot $opts metadata "$base.md" | awk '/^title:/ && NF > 1' | grep .
+ if subplot $opts metadata "$base.subplot | awk '/^title:/ && NF > 1' | grep .
then
- subplot $opts docgen "$base.md" -o "$output/$base.html"
- subplot $opts docgen "$base.md" -o "$output/$base.pdf"
+ subplot $opts docgen "$base.subplot -o "$output/$base.html"
+ subplot $opts docgen "$base.subplot -o "$output/$base.pdf"
fi
)
done