~uglyduck/uglyduck.srht.site

ref: c93877c3ede15d041817115bdebf882b20e8c923 uglyduck.srht.site/.build.yml -rw-r--r-- 478 bytes
c93877c3 — Bradley Taunt use ruby-full in packages instead of 2.5 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: debian/stable
oauth: pages.sr.ht/PAGES:RW
packages:
  - ruby-full
  - ruby-dev
environment:
  site: uglyduck.ca
sources:
  - https://git.sr.ht/~uglyduck/uglyduck.srht.site
tasks:
- install-bundler:
    sudo gem install bundler
- build:
    cd uglyduck.srht.site
    bundle install
    bundle exec jekyll build
- package: |
    cd uglyduck.srht.site/_site
    tar -cvz . > ../../site.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz