Add srht pages build

This commit is contained in:
Adam Gausmann 2024-05-22 22:51:08 -05:00
parent 78a49a9138
commit 3a9bbe314f

14
.build.yml Normal file
View file

@ -0,0 +1,14 @@
image: alpine/latest
packages:
- hugo
- hut
oauth: pages.sr.ht/PAGES:RW
environment:
site: gaussian.dev
tasks:
- package: |
cd $site
hugo
tar -C public -cvz . > ../site.tar.gz
- upload: |
hut pages publish -d $site site.tar.gz