mirror of https://git.sr.ht/~sircmpwn/srht.site
Add .build.yml
This commit is contained in:
parent
93a2e7f8de
commit
d2c0e48bf3
|
@ -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 +1,2 @@
|
|||
public
|
||||
resources
|
||||
|
|
Loading…
Reference in New Issue