~samhh/samhh.com

ref: 66ac37f01a3834ae8c8f6faa02fefbbc293eeaf8 samhh.com/.build.yml -rw-r--r-- 369 bytes
66ac37f0 — Sam A. Horvath-Hunt Arch -> NixOS 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: nixos/unstable
packages:
  - nixos.gnumake
  - nixos.hugo
  - nixos.openring
sources:
  - https://git.sr.ht/~samhh/samhh.com
oauth: pages.sr.ht/PAGES:RW
environment:
  site: samhh.com
tasks:
- build: |
    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