From 0faf064e04166e27949ce1c473d549a4e4459d0e Mon Sep 17 00:00:00 2001 From: David Dias Date: Wed, 22 Jan 2025 22:04:05 -0500 Subject: [PATCH] chore: fix app deployment --- .github/workflows/app-deployment.yml | 6 +++--- apps/app/next-env.d.ts | 2 +- apps/app/next.config.mjs | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/app-deployment.yml b/.github/workflows/app-deployment.yml index 1f2984f..009a4dc 100644 --- a/.github/workflows/app-deployment.yml +++ b/.github/workflows/app-deployment.yml @@ -86,16 +86,16 @@ jobs: run: pnpm build env: NEXT_TELEMETRY_DISABLED: 1 + NEXT_PUBLIC_APP_URL: https://demo.linksbase.app - name: Create .nojekyll run: | - mkdir -p ./out - touch ./out/.nojekyll + touch ./apps/app/out/.nojekyll - name: Upload build artifact uses: actions/upload-pages-artifact@v3.0.1 with: - path: ./out + path: ./apps/app/out retention-days: 7 deploy: diff --git a/apps/app/next-env.d.ts b/apps/app/next-env.d.ts index 4f11a03..40c3d68 100644 --- a/apps/app/next-env.d.ts +++ b/apps/app/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. diff --git a/apps/app/next.config.mjs b/apps/app/next.config.mjs index 1de85b7..e761ebc 100755 --- a/apps/app/next.config.mjs +++ b/apps/app/next.config.mjs @@ -13,7 +13,6 @@ const nextConfig = { transpilePackages: INTERNAL_PACKAGES, skipTrailingSlashRedirect: true, reactStrictMode: true, - basePath: process.env.NEXT_PUBLIC_BASE_PATH, experimental: { optimizePackageImports: [ 'date-fns',