From f8689feb1bdccbc2010b62bd624301bb5d622f2c Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 21 Jan 2024 18:40:18 +0100 Subject: Update build to use hut bin --- .build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.build.yml b/.build.yml index c01f1db..b94fe74 100644 --- a/.build.yml +++ b/.build.yml @@ -3,12 +3,13 @@ oauth: pages.sr.ht/PAGES:RW packages: - hugo + - hut tasks: - build: | cd a14m.srht.site hugo - tar -C public -cvz . > ../site.tar.gz + tar -C public -cvz . > site.tar.gz - publish: | set +x @@ -19,5 +20,5 @@ tasks: echo "Skipping publishing step. only publishing 'main' branch" exit 0 fi - acurl -f https://pages.sr.ht/publish/a14m.me -Fcontent=@../site.tar.gz - acurl -f https://pages.sr.ht/publish/a14m.srht.site -Fcontent=@../site.tar.gz + hut pages publish -d a14m.me site.tar.gz + hut pages publish -d a14m.srht.site site.tar.gz -- cgit v1.2.3