Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

ci: add auth providers variable

Brad Barbinda7a20f21552
diff --git a/ci/src/deploy.ts b/ci/src/deploy.ts
index 54821a83bb..f6b2866538 100644
--- a/ci/src/deploy.ts
+++ b/ci/src/deploy.ts
@@ -31,6 +31,7 @@ export type Workspace = {
service_role_key: string | null;
// App Configuration
+ auth_providers: string | null;
carbon_edition: string | null;
cloudflare_turnstile_secret_key: string | null;
cloudflare_turnstile_site_key: string | null;
@@ -99,6 +100,7 @@ async function deploy(): Promise<void> {
aws,
aws_account_id,
aws_region,
+ auth_providers,
domain_name,
cert_arn_erp,
cert_arn_mes,
@@ -258,6 +260,7 @@ async function deploy(): Promise<void> {
AWS_ACCOUNT_ID: aws_account_id,
AWS_REGION: aws_region,
IMAGE_TAG: imageTag,
+ AUTH_PROVIDERS: auth_providers ?? undefined,
CARBON_EDITION: carbon_edition ?? "enterprise",
CERT_ARN_ERP: cert_arn_erp,
CERT_ARN_MES: cert_arn_mes,
diff --git a/sst.config.ts b/sst.config.ts
index 509d69605d..4f739e9b20 100644
--- a/sst.config.ts
+++ b/sst.config.ts
@@ -42,6 +42,7 @@ export default $config({
memoryUtilization: 80,
},
environment: {
+ AUTH_PROVIDERS: process.env.AUTH_PROVIDERS,
CARBON_EDITION: process.env.CARBON_EDITION,
CLOUDFLARE_TURNSTILE_SECRET_KEY:
process.env.CLOUDFLARE_TURNSTILE_SECRET_KEY,
@@ -133,6 +134,7 @@ export default $config({
memoryUtilization: 80,
},
environment: {
+ AUTH_PROVIDERS: process.env.AUTH_PROVIDERS,
CARBON_EDITION: process.env.CARBON_EDITION,
CLOUDFLARE_TURNSTILE_SECRET_KEY:
process.env.CLOUDFLARE_TURNSTILE_SECRET_KEY,