diff options
author | Lars Wirzenius <liw@noreply.codeberg.org> | 2023-10-14 10:56:35 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@noreply.codeberg.org> | 2023-10-14 10:56:35 +0000 |
commit | df0c307c3054e02c2cbf300284174af153ffc35e (patch) | |
tree | 689a2c98b72c68267600351e498ab6b29573a72c | |
parent | 98a8453263bcb8054632086b33251908d3198bad (diff) | |
parent | 27f80b39e3a131d7b6db893f4989f98b4588083c (diff) | |
download | ambient-web-df0c307c3054e02c2cbf300284174af153ffc35e.tar.gz |
Merge pull request 'allow building with ambient-run' (#1) from fixes into main
Reviewed-on: https://codeberg.org/ambient/ambient-web/pulls/1
-rw-r--r-- | .ambient.yaml | 20 | ||||
-rw-r--r-- | ikiwiki.setup | 2 |
2 files changed, 20 insertions, 2 deletions
diff --git a/.ambient.yaml b/.ambient.yaml new file mode 100644 index 0000000..f7c8e62 --- /dev/null +++ b/.ambient.yaml @@ -0,0 +1,20 @@ +image: /home/liw/tmp/ambient/ikiwiki.qcow2 +source: . +shell: | + #!/bin/bash + # + # Build an ikiwiki of mine, incrementally, and publish it on my local + # web server. + + set -xeuo pipefail + + export HOME=/workspace + + mkdir /workspace/html + sed -i 's#^srcdir:.*#srcdir: /workspace/src#' ikiwiki.setup + sed -i 's#^destdir:.*#destdir: /workspace/html#' ikiwiki.setup + + ikiwiki --setup ikiwiki.setup --libdir /workspace/deps --rebuild --verbose + + find /workspace/html -type f + tar -C /workspace/html -cvf /dev/vdc . diff --git a/ikiwiki.setup b/ikiwiki.setup index c7b0352..4fc84bf 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -13,7 +13,6 @@ add_plugins: - brokenlinks - trail - toc -- pandoc disable_plugins: - smiley - rawhtml @@ -35,4 +34,3 @@ allowrss: yes allowatom: yes rss: yes atom: yes -pandoc_filters: "pandoc-filter-diagram" |