summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
+}
+