~nickbp/gridmgr

2db6a6674f5c257f30648bb3b153b13ba546e330 — Nick Parker 1 year, 5 months ago 816611e
CI: Push docs/ to site
1 files changed, 11 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +11 -0
@@ 0,0 1,11 @@
# sourcehut build: push docs/* to website
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
environment:
  repo: gridmgr
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