Compare commits
2 Commits
5278685dff
...
8160861e6b
| Author | SHA1 | Date | |
|---|---|---|---|
| 8160861e6b | |||
| edc54b2e85 |
@ -107,6 +107,8 @@ function update_script() {
|
|||||||
cd /opt/${APP}/frontend || exit
|
cd /opt/${APP}/frontend || exit
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
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/
|
cp -r dist/* /opt/${APP}/backend/app/static/
|
||||||
msg_ok "Built Frontend"
|
msg_ok "Built Frontend"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user