Add .build.yml

This commit is contained in:
Drew DeVault 2021-02-18 11:30:50 -05:00
parent 93a2e7f8de
commit d2c0e48bf3
2 changed files with 14 additions and 0 deletions

13
.build.yml Normal file
View File

@ -0,0 +1,13 @@
image: alpine/latest
packages:
- hugo
oauth: pages.sr.ht/PAGES:RW
environment:
site: srht.site
tasks:
- package: |
cd $site
hugo
tar -C public -cvz . > ../site.tar.gz
- upload: |
acurl https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz

1
.gitignore vendored
View File

@ -1 +1,2 @@
public
resources