image: debian/stretch packages: - curl triggers: - condition: failure action: email to: EuAndreh sources: - https://git.sr.ht/~euandreh/website secrets: - 7159f943-811f-402d-bb6d-37cd764dc728 tasks: - setup: | curl https://nixos.org/nix/install | sh echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv - tests: | cd website/ nix-build -A test - docs: | cd website/ nix-build -A publishScript source env.sh ./result/bin/publish.sh