17 lines
367 B
YAML
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
|