Skip to content

Commit

Permalink
DB deploy fixes (#2408)
Browse files Browse the repository at this point in the history
* DB deploy fixes

* Update turbo.json

* Turbo fixes
  • Loading branch information
zomars committed Apr 6, 2022
1 parent 0e93af9 commit f9bd931
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/prisma/package.json
Expand Up @@ -13,7 +13,7 @@
"db-setup": "run-s db-up db-deploy db-seed",
"db-studio": "yarn prisma studio",
"db-up": "docker-compose up -d",
"deploy": "run-s build db-deploy",
"deploy": "yarn prisma migrate deploy",
"dx": "yarn db-setup",
"generate-schemas": "prisma generate && prisma format",
"postinstall": "yarn generate-schemas"
Expand Down
6 changes: 5 additions & 1 deletion turbo.json
Expand Up @@ -8,6 +8,7 @@
"outputs": ["zod/**"]
},
"@calcom/prisma#db-deploy": {
"cache": false,
"dependsOn": ["$DATABASE_URL"]
},
"@calcom/prisma#db-reset": {
Expand All @@ -20,6 +21,7 @@
"@calcom/web#build": {
"dependsOn": [
"^build",
"@calcom/prisma#build",
"$CALENDSO_ENCRYPTION_KEY",
"$CRON_API_KEY",
"$DAILY_API_KEY",
Expand Down Expand Up @@ -92,7 +94,9 @@
"db-deploy": {},
"db-seed": {},
"deploy": {
"dependsOn": ["@calcom/web#build"]
"cache": false,
"dependsOn": ["@calcom/web#build"],
"outputs": []
},
"clean": {
"cache": false
Expand Down

1 comment on commit f9bd931

@vercel
Copy link

@vercel vercel bot commented on f9bd931 Apr 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

calendso – ./apps/web

calendso-cal.vercel.app
calendso-git-main-cal.vercel.app
app.cal.com
app.calendso.com

Please sign in to comment.