old_blog/.build.yml

15 lines
247 B
YAML

image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- hugo
environment:
site: seraphimrp.srht.site
tasks:
- package: |
cd blog
hugo
tar -C public -cvz . > ../site.tar.gz
- upload: |
hut pages publish -d $site site.tar.gz