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