diff options
| -rw-r--r-- | .build.yml | 6 | ||||
| -rw-r--r-- | siteconfig.json | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -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" +} + |