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
|
mkDeployEffect = branch: name: host: let
|
||||||
subdomain = host.enterprise.subdomain or "services";
|
subdomain = host.enterprise.subdomain or "services";
|
||||||
hostname = "${lib.toLower name}.${subdomain}.${meta.domain}";
|
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" ];
|
requiredSystemFeatures = [ "hci-deploy-agent-nixos" ];
|
||||||
config = self.nixosConfigurations.${name}.config // { outPath = "wtfwtfwtfwtfwtfwtf"; };
|
config = self.nixosConfigurations.${name}.config // { outPath = "wtfwtfwtfwtfwtfwtf"; };
|
||||||
secretsMap.ssh = "deploy-ssh";
|
secretsMap.ssh = "deploy-ssh";
|
||||||
|
|
Loading…
Add table
Reference in a new issue