From 506687358336e52940f4b6eb88ba3b87edc78fd3 Mon Sep 17 00:00:00 2001 From: Frank Homburg Date: Sat, 23 Apr 2022 13:35:07 +0200 Subject: [PATCH] updated build manifest --- .build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.build.yml b/.build.yml index f19bed6..4b6eb6e 100644 --- a/.build.yml +++ b/.build.yml @@ -1,12 +1,13 @@ -image: alpine/edge -oauth: pages.sr.ht/PAGES:RW +image: alpine/latest packages: -- hut + - hugo +oauth: pages.sr.ht/PAGES:RW environment: site: no-js.club tasks: - package: | cd $site - tar -cvz . > ../site.tar.gz + hugo + tar -C public -cvz . > ../site.tar.gz - upload: | - hut pages publish -d $site site.tar.gz + acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz