view .build.yml @ 90:2150100076df

code: fix links...
author Paper <paper@paper.us.eu.org>
date Tue, 18 Jun 2024 04:11:58 -0400
parents 484b9c79a149
children f07319404ff9
line wrap: on
line source

image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- linux-headers
- ruby-dev
- ruby-json
- ruby-jekyll
- ruby-bundler
environment:
  site: paper.us.eu.org
sources:
  - hg+https://hg.paper.us.eu.org/web
tasks:
- package: |
    cd web
    bundle config set --local path ".bundler"
    bundle install
    bundle exec jekyll build
    tar -C _site -cvz . > ../site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz