added build for publishing
This commit is contained in:
parent
0e06d04293
commit
16155bb2b9
1 changed files with 16 additions and 0 deletions
16
.build.yml
Normal file
16
.build.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
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
|
||||||
|
tar -C public -cvz . > ../site.tar.gz
|
||||||
|
- upload: |
|
||||||
|
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
|
Loading…
Reference in a new issue