@@ 1,10 1,4 @@
-image: alpine/edge
-packages:
- - make
- - npm
- - pandoc-cli
- - rsync
- - yq-go
+image: nixos/unstable
sources:
- https://git.sr.ht/~jshholland/inv.alid.pw
environment:
@@ 19,13 13,11 @@ tasks:
printf 'not running job on non-master ref: %s\n' "$GIT_REF"
exit 1
fi
- - setup: |
- sudo npm i -g @djot/djot
- build: |
cd inv.alid.pw
- make
+ nix build --extra-experimental-features 'nix-command flakes'
- deploy: |
mkdir -p $HOME/.ssh
echo "$webhost $hostkey" > $HOME/.ssh/known_hosts
cd inv.alid.pw
- rsync -rlptzz --delete --filter 'protect /fonts' site/ ${user}@${webhost}:
+ rsync -rlptzz --delete --filter 'protect /fonts' result/ ${user}@${webhost}: