From de12d0f5e4eb4946fc1199f7a23d8b6015ec99a4 Mon Sep 17 00:00:00 2001 From: lsof Date: Tue, 2 Sep 2025 17:04:15 +0200 Subject: fix build, 404 --- .build.yml | 6 ++++-- siteconfig.json | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 siteconfig.json 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" +} + -- cgit v1.2.3