secretssssssssssssss
All checks were successful
Publish Docker Images / docker (push) Successful in 1m22s

This commit is contained in:
Lee 2023-11-16 18:36:10 +00:00
parent 1e6ea9d104
commit f946ca2c5d

@ -20,9 +20,7 @@ export async function initSecrets(token: string) {
const infisicalClient = createInfisicalClient(token); const infisicalClient = createInfisicalClient(token);
const options: GetOptions = { const options: GetOptions = {
environment: process.env.NODE_ENV?.startsWith("prod") environment: process.env.NODE_ENV === "production" ? "prod" : "dev",
? "prod"
: process.env.NODE_ENV || "dev",
path: "/", path: "/",
type: "shared", type: "shared",
}; };