summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsof <lsof@mailbox.org>2025-09-02 17:04:15 +0200
committerlsof <lsof@mailbox.org>2025-09-02 17:04:15 +0200
commitde12d0f5e4eb4946fc1199f7a23d8b6015ec99a4 (patch)
tree293964850a2d9159f45c25421046331359e5fb2b
parenta2110fb70ad0471754aebc8519737980b10df8d5 (diff)
fix build, 404
-rw-r--r--.build.yml6
-rw-r--r--siteconfig.json4
2 files changed, 8 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 9a05a09..26d6a6e 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,5 +1,7 @@
image: alpine/edge
-packages: [ zola ]
+packages:
+ - zola
+ - hut
oauth: pages.sr.ht/PAGES:RW
environment:
site: lemon.rip
@@ -13,4 +15,4 @@ tasks:
cd site
tar -C public -cvz . > ../site.tar.gz
- upload: |
- acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
+ hut pages publish -d $site --site-config siteconfig.json site.tar.gz
diff --git a/siteconfig.json b/siteconfig.json
new file mode 100644
index 0000000..1254a42
--- /dev/null
+++ b/siteconfig.json
@@ -0,0 +1,4 @@
+{
+ "notFound": "404.html"
+}
+