~samhh/samhh.com

d72379cce811558351d2dffd7f680f871041a803 — Sam A. Horvath-Hunt 8 months ago 0a73cb9
Add CI config
1 files changed, 13 insertions(+), 0 deletions(-)

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