image: nixos/unstable oauth: lists.sr.ht/EMAILS:RO pages.sr.ht/PAGES:RW packages: - nixos.fead sources: - https://git.sr.ht/~amolith/fediring.net - https://git.sr.ht/~cnx/site environment: NODE: node tasks: - inject: | grep -C1 cnx.gdn fediring.net/webring.txt | awk 'NR % 2 { print $2 }' > site/_libs/fediring fead -F site/_libs/fead/sources -n 4 -l 192\ < site/_libs/fead/in.html > site/_libs/fead/out.html acurl https://lists.sr.ht/query/list/5261.mbox -o site/_libs/formbox/mbox - build: | cd site nix-shell .builds/shell.nix --run 'julia --project=@. .builds/franklin.jl' nix-shell -p htmlq --run _libs/onlymathml nix-shell -p python3Packages.css-html-js-minify --run _libs/postprocess - deploy: | chmod -R +r site/__site tar -cvzf site.tar.gz -C site/__site . artifacts: - site.tar.gz