freehold-cottage/.build.yml
2023-11-02 11:56:58 +00:00

27 lines
544 B
YAML

image: alpine/edge
packages:
- ruby-dev
- nodejs
- npm
- rsync
- imagemagick
- imagemagick-dev
- imagemagick-libs
environment:
repo: freehold
sources:
- https://git.sr.ht/~stfn/freehold-cottage
- https://git.sr.ht/~stfn/build-scripts
secrets:
- 663e253f-76fc-4d51-92ba-2412927a42d8
tasks:
- build: |
cd $repo
sudo sh ../build-scripts/jekyll-build
- minify: |
cd $repo
sudo sh ../build-scripts/minify-site
- deploy: |
cd $repo
sudo sh ../build-scripts/neocities-deploy $repo _site