mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-10-04 17:22:13 +02:00
Retry a second time when a deployment fails once
This commit is contained in:
parent
a2338acb12
commit
4142b90e9e
@ -1,4 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
nix build .#checks.x86_64-linux.test -L
|
||||
nixos-rebuild switch --flake .#nixos-wiki-nixos-org --target-host root@wiki.nixos.org
|
||||
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