~huyngo/huyngo.srht.site

ref: 5b264ffb30b74250113fb3149d3766203f392390 huyngo.srht.site/.build.yml -rw-r--r-- 547 bytes
5b264ffbNgô Ngọc Đức Huy Do thing the less stupid way 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: debian/bullseye
oauth: pages.sr.ht/PAGES:RW
packages:
  - ruby-full
  - golang
environment:
  site: huyngo.srht.site
tasks:
- install: |
    gem install --user-install jekyll bundler
    git clone https://git.sr.ht/~sircmpwn/openring
    cd openring
    go build -o openring
    sudo cp openring /usr/local/bin/
- package: |
    cd $site
    bundle install
    ./create-webring.sh
    bundle exec jekyll build
    cd _site
    tar -cvz . > ../../site.tar.gz
- upload: |
    acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz