summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml6
1 files changed, 4 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