~nickbp/marky

ref: a9d54ef07b9065cef97994ec0957255e0385b139 marky/.build.yml -rw-r--r-- 329 bytes
a9d54ef0Nick Parker Switch to hugo rendering, fix links 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# sourcehut build: push docs/* to website
image: alpine/latest
packages:
- hugo
oauth: pages.sr.ht/PAGES:RW
environment:
  repo: marky
tasks:
- package: |
    cd $repo/docs/
    hugo
    cd public/
    tar -cvz . > ../../../site.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$repo.nickbp.com -Fcontent=@site.tar.gz