~nickbp/marky

ref: d124926330b576637c416622f49119bfc128e7fe marky/.build.yml -rw-r--r-- 285 bytes
d1249263Nick Parker CI: Push docs/ to site 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
# sourcehut build: push docs/* to website
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
environment:
  repo: marky
tasks:
- package: |
    cd $repo/docs/
    tar -cvz . > ../../site.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$repo.nickbp.com -Fcontent=@site.tar.gz