Skip to content

Scheduling infrastructure for absolutely everyone.

Fix/post deploy migrations (#2385)

Omar López6932d3600e9c
diff --git a/apps/web/pages/apps/[slug].tsx b/apps/web/pages/apps/[slug].tsx
index fc5d6096566..bf244935acd 100644
--- a/apps/web/pages/apps/[slug].tsx
+++ b/apps/web/pages/apps/[slug].tsx
@@ -106,7 +106,7 @@ export const getStaticProps = async (ctx: GetStaticPropsContext) => {
/* If the app doesn't have a README we fallback to the packagfe description */
source = fs.readFileSync(postFilePath).toString();
} catch (error) {
- console.log("error", error);
+ console.log(`No README.mdx provided for: ${appDirname}`);
source = singleApp.description;
}
diff --git a/turbo.json b/turbo.json
index 35c2f4e6f2f..a530b9e3aff 100644
--- a/turbo.json
+++ b/turbo.json
@@ -73,7 +73,16 @@
"dependsOn": ["@calcom/prisma#db-deploy"]
},
"@calcom/website#build": {
- "dependsOn": ["$WEBSITE_BASE_URL"],
+ "dependsOn": [
+ "$NEXT_PUBLIC_STRIPE_FREE_PLAN_PRICE",
+ "$NEXT_PUBLIC_STRIPE_PREMIUM_PLAN_PRICE",
+ "$NEXT_PUBLIC_STRIPE_PRO_PLAN_PRICE",
+ "$NEXT_PUBLIC_STRIPE_PRO_PLAN_PRODUCT",
+ "$NEXT_PUBLIC_STRIPE_PUBLIC_KEY",
+ "$NEXT_PUBLIC_WEBAPP_URL",
+ "$NEXT_PUBLIC_WEBSITE_URL",
+ "$STRIPE_WEBHOOK_SECRET"
+ ],
"outputs": [".next/**"]
},
"build": {
@@ -83,7 +92,7 @@
"db-deploy": {},
"db-seed": {},
"deploy": {
- "dependsOn": []
+ "dependsOn": ["@calcom/web#build"]
},
"clean": {
"cache": false