tall-crowd-93084
05/12/2023, 1:12 PMconst renderEnvCmd = new command.local.Command(`${customer.subDomain}-env`, {
create: `
mkdir -p ansible/${customer.subDomain} && \
cat ansible/env.tmpl | envsubst > ansible/${customer.subDomain}/.env`,
environment: {
...secrets,
...postGres,
BASE_PATH,
anonJWT,
serviceJWT,
smtpPass: cfg.requireSecret("sendinblueSMTP"),
fqdn: customerDNS,
},
});
I'm not sure why, but my .env files aren't being regenerated... Do I have to wire this up in any particular way to make sure the command is evaluated/exectued?white-balloon-205
05/12/2023, 2:55 PMtriggers
property to indicate what triggers should cause this to run. Any change to the values you pass to triggers will cause a recreation of the command, which will re-run its create.