diff options
| author | Ahmed Abdelhalim <[email protected]> | 2024-01-21 18:40:18 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2024-01-21 18:48:05 +0100 |
| commit | f8689feb1bdccbc2010b62bd624301bb5d622f2c (patch) | |
| tree | 4bf714e4c6f048a14f9a6f39674c0fefc3ea2aa3 | |
| parent | 4c77897606c6732814ccd25f4bad19395eb9d73b (diff) | |
Update build to use hut bin
| -rw-r--r-- | .build.yml | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |
