diff --git a/apphosting.yaml b/apphosting.yaml index 26a7826b..4bd90db3 100644 --- a/apphosting.yaml +++ b/apphosting.yaml @@ -1,7 +1,7 @@ # Monorepo - app is in sites/portal scripts: - buildCommand: npm install && npx turbo run build --filter=web && mkdir -p sites/mainweb/.next/standalone/sites/mainweb/.next && cp -r sites/mainweb/.next/static sites/mainweb/.next/standalone/sites/mainweb/.next/static && (cp -r sites/mainweb/public sites/mainweb/.next/standalone/sites/mainweb/public || true) + buildCommand: npm install -g bun && node restore-workspace.js && rm -rf node_modules package-lock.json bun.lock && bun install && bun --filter web build && mkdir -p sites/mainweb/.next/standalone/sites/mainweb/.next && cp -r sites/mainweb/.next/static sites/mainweb/.next/standalone/sites/mainweb/.next/static && (cp -r sites/mainweb/public sites/mainweb/.next/standalone/sites/mainweb/public || true) runCommand: node sites/mainweb/.next/standalone/sites/mainweb/server.js runConfig: @@ -48,4 +48,4 @@ env: - variable: EMAIL_SERVER_PASSWORD secret: projects/672446353769/secrets/EMAIL_SERVER_PASSWORD - variable: EMAIL_FROM - value: datascience.gt@gmail.com \ No newline at end of file + value: datascience.gt@gmail.com diff --git a/turbo.json b/turbo.json index 00df9636..c3697ea6 100644 --- a/turbo.json +++ b/turbo.json @@ -57,9 +57,6 @@ "clean": { "cache": false }, - "//#clean": { - "cache": false - }, "push": { "cache": false, "interactive": true