mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2025-02-15 09:49:23 +01:00
deploy: build nixos closure in parallel to nixos test
This commit is contained in:
parent
f64584984f
commit
49abb6930d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user