thrrgilag.net/.build.yml
2022-05-01 10:40:51 -07:00

17 lines
367 B
YAML

image: alpine/latest
packages:
- hugo
oauth: pages.sr.ht/PAGES:RW
environment:
site: thrrgilag.net
triggers:
- action: email
condition: always
to: Morgan McMillian <morgan@mcmillian.dev>
tasks:
- package: |
cd $site
hugo
tar -C public -cvz . > ../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz