deploy: build nixos closure in parallel to nixos test

This commit is contained in:
Jörg Thalheim 2024-07-07 18:10:51 +02:00
parent f64584984f
commit 49abb6930d

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
nix build .#checks.x86_64-linux.test -L
nix build .#checks.x86_64-linux.test .#nixosConfigurations.nixos-wiki-nixos-org.config.system.build.toplevel -L
if ! nixos-rebuild switch --flake .#nixos-wiki-nixos-org --target-host root@wiki.nixos.org; then
nixos-rebuild switch --flake .#nixos-wiki-nixos-org --target-host root@wiki.nixos.org
fi