aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 40792c8dcd0d6d64c1bb93981d6d477063338883 (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-full
- ruby-dev
environment:
site: 1mb.club
sources:
- https://git.sr.ht/~bt/1mb-club
tasks:
- install-dependencies: |
    sudo apk add go hut
- install-bundler: |
    sudo gem install bundler
- build: |
    cd 1mb-club
    sudo bundle install
    sudo bundle exec jekyll build
- package: |
    cd 1mb-club/_site
    tar -cvz . > ../../site.tar.gz
- upload: |
    hut pages publish -d 1mb.club site.tar.gz