From bac7b9243d1fe3fd0eaa88c7fa4f9761ffc01f5a Mon Sep 17 00:00:00 2001 From: Evan Gray Date: Thu, 14 Sep 2023 09:02:52 -0400 Subject: [PATCH] ci: fix dashboard build --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fe513616..a15ddd38 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,6 +16,7 @@ jobs: - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. run: | npm ci + npm run build IFS='/' read -a strarr <<< $GITHUB_REPOSITORY && sed -i "`wc -l < dashboard/package.json`i\,\"homepage\":\"https://${strarr[0]}.github.io/${strarr[1]}\"" dashboard/package.json NODE_OPTIONS=--max-old-space-size=4096 npm run build -w dashboard - name: Deploy 🚀