From e460da77d424dd8f0aebaf7c3e17cf4376ca8c48 Mon Sep 17 00:00:00 2001 From: mxmlnwbr Date: Tue, 19 Sep 2023 12:54:15 +0200 Subject: [PATCH] test: next export --- .../azure-static-web-apps-delightful-grass-05b344303.yml | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml b/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml index c892176..7b643dc 100644 --- a/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml +++ b/.github/workflows/azure-static-web-apps-delightful-grass-05b344303.yml @@ -29,8 +29,8 @@ jobs: # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig app_location: '/' # App source code path api_location: '' # Api source code path - optional - #output_location: '' - output_location: '.next/standalone' # Built app content directory - optional + output_location: '' + # output_location: '.next/standalone' # Built app content directory - optional ###### End of Repository/Build Configurations ###### env: # Add environment variables here ENABLE_PREVIEW_FEATURES: true diff --git a/package.json b/package.json index 91562ee..0fa81b8 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "private": true, "scripts": { "prebuild": "npm run prisma:generate", - "build": "npm-run-all build:next", + "build": "npm-run-all build:next next:export", "build:next": "next build", + "next:export": "next export", "predev": "npm-run-all prisma:generate", "dev": "doppler run --config dev -- next dev", "format": "prettier --write .",