Skip to content

Commit

Permalink
Retry a second time when a deployment fails once
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored and mergify[bot] committed Jul 1, 2024
1 parent a2338ac commit 4142b90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion targets/nixos-wiki.nixos.org/deploy.sh
Original file line number Diff line number Diff line change
@@ -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 [email protected]
if ! nixos-rebuild switch --flake .#nixos-wiki-nixos-org --target-host [email protected]; then
nixos-rebuild switch --flake .#nixos-wiki-nixos-org --target-host [email protected]
fi

0 comments on commit 4142b90

Please sign in to comment.