~huyngo/huyngo.srht.site

5b264ffb30b74250113fb3149d3766203f392390 — Ngô Ngọc Đức Huy 7 months ago 3beb213
Do thing the less stupid way
1 files changed, 5 insertions(+), 3 deletions(-)

M .build.yml
M .build.yml => .build.yml +5 -3
@@ 1,19 1,21 @@
image: debian/bullseye
oauth: pages.sr.ht/PAGES:RW
packages:
  - ruby-full
  - golang
environment:
  site: huyngo.srht.site
tasks:
- install: |
    yes | sudo apt install ruby-full golang
    sudo gem install jekyll bundler
    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 update
    bundle exec jekyll build
    cd _site
    tar -cvz . > ../../site.tar.gz