This commit is contained in:
2025-12-24 14:54:00 +08:00
parent d8cd5f7f88
commit 78f5708b29

8
deploy.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
npm run build
# 创建目标目录
mkdir -p /var/www/wh-hpe-ui
# 复制 dist 目录下的所有内容到目标目录
cp -r /root/code/wh-hpe-ui/dist/* /var/www/wh-hpe-ui/