thrrgilag.net/.build.yml
Morgan McMillian 4c43e0814c missed a step
2021-02-20 17:52:45 -08:00

17 lines
372 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
hugo
tar -C public -cvz . > ../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz