thrrgilag.net/.build.yml

18 lines
367 B
YAML
Raw Normal View History

2021-02-21 01:50:01 +00:00
image: alpine/latest
packages:
- hugo
oauth: pages.sr.ht/PAGES:RW
environment:
site: thrrgilag.net
triggers:
- action: email
condition: always
2022-05-01 17:40:51 +00:00
to: Morgan McMillian <morgan@mcmillian.dev>
2021-02-21 01:50:01 +00:00
tasks:
- package: |
cd $site
2021-02-21 01:52:45 +00:00
hugo
2021-02-21 01:50:01 +00:00
tar -C public -cvz . > ../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz