aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: c762838b384645e9089fdde04789261559dbb61a (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: jsfree.org
sources:
- https://git.sr.ht/~bt/jsfree.org
tasks:
- install-smu: |
    git clone https://git.sr.ht/~bt/smu
    cd smu
    sudo make
    sudo make install
- build: |
    cd jsfree.org
    make build
- package: |
    cd jsfree.org/build
    tar -cvz . > ../../site.tar.gz
- upload: |
    hut pages publish -d jsfree.org site.tar.gz