Skip to content

Scheduling infrastructure for absolutely everyone.

injects secrets with infisical (#7105)

Maidul Islam736c30f134bb
diff --git a/.gitignore b/.gitignore
index f5832e90626..87edce79095 100644
--- a/.gitignore
+++ b/.gitignore
@@ -77,9 +77,6 @@ lint-results
#Storybook
apps/storybook/build-storybook.log
-# Infisical
-.infisical.json
-
# Snaplet
.snaplet/snapshots
.snaplet/structure.d.ts
diff --git a/.infisical.json b/.infisical.json
new file mode 100644
index 00000000000..c7fe4ccd1f2
--- /dev/null
+++ b/.infisical.json
@@ -0,0 +1,8 @@
+{
+ "workspaceId": "63ea8121b6e2b0543ba79616",
+ "defaultEnvironment": "dev",
+ "gitBranchToEnvironmentMapping": {
+ "main": "staging",
+ "production": "prod"
+ }
+}
diff --git a/package.json b/package.json
index d894cb5b64c..eded3736901 100644
--- a/package.json
+++ b/package.json
@@ -39,6 +39,10 @@
"docs-start": "turbo run start --scope=\"@calcom/docs\"",
"build-storybook": "turbo run build --scope=\"@calcom/storybook\"",
"dx": "turbo run dx",
+ "i-dev": "infisical run -- turbo run dev --scope=\"@calcom/web\"",
+ "i-dx": "infisical run -- turbo run dx",
+ "i-gen-web-example-env": "infisical secrets generate-example-env --tags=web > .env.example",
+ "i-gen-app-store-example-env": "infisical secrets generate-example-env --tags=appstore > .env.appStore.example",
"embed-tests-quick": "turbo run embed-tests-quick",
"embed-tests": "turbo run embed-tests",
"env-check:app-store": "dotenv-checker --schema .env.appStore.example --env .env.appStore",