aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 1ccda0f443ecd5397239ea4f1ceef38b36f9fc24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
packages:
- rsync
- coreutils
- go
- hut
environment:
site: barf.btxx.org
sources:
- https://git.sr.ht/~bt/barf
tasks:
- install-smu: |
    git clone https://git.sr.ht/~bt/smu
    cd smu
    sudo make
    sudo make install
- build: |
    cd barf
    make build
- package: |
    cd barf/build
    tar -cvz . > ../../site.tar.gz
- upload: |
    hut pages publish -d barf.btxx.org site.tar.gz