Add srht pages build
This commit is contained in:
parent
78a49a9138
commit
3a9bbe314f
1 changed files with 14 additions and 0 deletions
14
.build.yml
Normal file
14
.build.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
image: alpine/latest
|
||||
packages:
|
||||
- hugo
|
||||
- hut
|
||||
oauth: pages.sr.ht/PAGES:RW
|
||||
environment:
|
||||
site: gaussian.dev
|
||||
tasks:
|
||||
- package: |
|
||||
cd $site
|
||||
hugo
|
||||
tar -C public -cvz . > ../site.tar.gz
|
||||
- upload: |
|
||||
hut pages publish -d $site site.tar.gz
|
Loading…
Add table
Reference in a new issue