--- image: nixos/unstable environment: NIX_CONFIG: "experimental-features = nix-command flakes" sources: - https://git.sr.ht/~c8h4/c8h4.io secrets: - 8e01c227-f772-4dec-b1f5-f21657b709a0 tasks: - lint: | cd c8h4.io nix flake check - build: | cd c8h4.io nix build - deploy: | tar -C c8h4.io/result -cvzf site.tar.gz . set +x # do not completely clobber the output with gargabe cat <(echo c8h4.io) <(cat site.tar.gz) | ssh -T -o StrictHostKeyChecking=no deploy@fort.c8h4.io