create automagic deployment

This commit is contained in:
Cadey Ratio 2020-07-14 18:00:35 -04:00
parent a12205aa1b
commit 113ed68bf6
2 changed files with 4 additions and 1 deletions

View File

@ -37,6 +37,7 @@ mkShell {
ispell
];
SITE_PREFIX = "devel.";
CLACK_SET = "Ashlynn,Terry Davis,Dennis Ritchie";
RUST_LOG = "info";
}

View File

@ -8,6 +8,8 @@ let tag = env:GITHUB_SHA as Text ? "latest"
let image = "xena/christinewebsite:${tag}"
let prefix = env:SITE_PREFIX as Text ? ""
let vars
: List kubernetes.EnvVar.Type
= [ kubernetes.EnvVar::{ name = "PORT", value = Some "3030" } ]
@ -17,7 +19,7 @@ in kms.app.make
, name = "christinewebsite"
, appPort = 3030
, image = image
, domain = "christine.website"
, domain = "${prefix}christine.website"
, leIssuer = "prod"
, envVars = vars
}