fix: resolve update script repository inconsistency and missing directory
This commit is contained in:
@ -107,6 +107,8 @@ function update_script() {
|
||||
cd /opt/${APP}/frontend || exit
|
||||
npm install
|
||||
npm run build
|
||||
# Ensure the static directory exists before copying
|
||||
mkdir -p /opt/${APP}/backend/app/static/
|
||||
cp -r dist/* /opt/${APP}/backend/app/static/
|
||||
msg_ok "Built Frontend"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user