ci: fix Dockerfile & ci

This commit is contained in:
JustSong
2024-01-01 19:23:46 +08:00
parent aa03c89133
commit 83f95935de
6 changed files with 38 additions and 18 deletions

13
web/build.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
version=$(cat VERSION)
themes=$(cat THEMES)
IFS=$'\n'
for theme in $themes; do
echo "Building theme: $theme"
cd $theme
npm install
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$version npm run build
cd ..
done