Create script to auto-deploy with retries
This commit is contained in:
parent
e3cacda356
commit
6a745892a4
12 changed files with 176 additions and 48 deletions
16
packages/auto-deploy/default.nix
Normal file
16
packages/auto-deploy/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
deploy-rs,
|
||||
gitMinimal,
|
||||
writeShellApplication,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "auto-deploy";
|
||||
meta.description = "Deploy machines automatically.";
|
||||
runtimeInputs = [
|
||||
deploy-rs
|
||||
gitMinimal
|
||||
];
|
||||
text = lib.readFile ./script.bash;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue