~jackwines/jackwines.srht.site

4530bfd61e0ccf48021132f8043396e6ff1f31fb — Jack Wines 4 months ago 1c2bf97
added build and publish script
1 files changed, 10 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +10 -0
@@ 0,0 1,10 @@
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
environment:
  site: jackwines.srht.site
tasks:
- package: |
    cd $site
    tar -cvz . > ../site.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz