effects: also deploy on staging
This commit is contained in:
parent
09f3f85a6b
commit
f4c1aa53aa
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
mkDeployEffect = branch: name: host: let
|
||||
subdomain = host.enterprise.subdomain or "services";
|
||||
hostname = "${lib.toLower name}.${subdomain}.${meta.domain}";
|
||||
in effects.runIf (branch == "master") (effects.runNixOS {
|
||||
in effects.runIf (branch == "master" || branch == "staging") (effects.runNixOS {
|
||||
requiredSystemFeatures = [ "hci-deploy-agent-nixos" ];
|
||||
config = self.nixosConfigurations.${name}.config // { outPath = "wtfwtfwtfwtfwtfwtf"; };
|
||||
secretsMap.ssh = "deploy-ssh";
|
||||
|
|
Loading…
Reference in a new issue