summaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-01-21 18:40:18 +0100
committerAhmed Abdelhalim <[email protected]>2024-01-21 18:48:05 +0100
commitf8689feb1bdccbc2010b62bd624301bb5d622f2c (patch)
tree4bf714e4c6f048a14f9a6f39674c0fefc3ea2aa3 /.build.yml
parent4c77897606c6732814ccd25f4bad19395eb9d73b (diff)
Update build to use hut bin
Diffstat (limited to '.build.yml')
-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