~samhh/samhh.com

ref: d72379cce811558351d2dffd7f680f871041a803 samhh.com/.build.yml -rw-r--r-- 285 bytes
d72379cc — Sam A. Horvath-Hunt Add CI config 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
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