mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-14 14:30:26 +00:00
ci: fix Dockerfile & ci
This commit is contained in:
13
web/build.sh
Normal file
13
web/build.sh
Normal 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
|
Reference in New Issue
Block a user