summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.build.yml7
1 files 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