# 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