fix secrets
All checks were successful
Publish Docker Images / docker (push) Successful in 1m26s

This commit is contained in:
Lee 2023-11-16 18:32:28 +00:00
parent 30e7158b7e
commit 1e6ea9d104

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