~nickbp/marky

d124926330b576637c416622f49119bfc128e7fe — Nick Parker 7 months ago 9888889
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: 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