image: nixos/unstable oauth: lists.sr.ht/EMAILS:RO pages.sr.ht/PAGES:RW packages: - nixos.python3 sources: - https://git.sr.ht/~amolith/fediring.net - https://git.sr.ht/~cnx/fead - 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/src/fead.py -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 python3Packages.css-html-js-minify --run _libs/postprocess - deploy: | tar -cvzf site.tar.gz -C site/__site . # acurl -f https://pages.sr.ht/publish/cnx.gdn -F content=@site.tar.gz artifacts: - site.tar.gz