Skip to content

Commit

Permalink
ci: fix dashboard build
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray committed Sep 14, 2023
1 parent 8dc24cb commit bac7b92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 🚀
Expand Down

0 comments on commit bac7b92

Please sign in to comment.