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