thrrgilag.net/.build.yml
2021-02-20 17:50:01 -08:00

16 lines
363 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 <thrrgilag@dreamfall.space>
tasks:
- package: |
cd $site
tar -C public -cvz . > ../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz