docs: 注明仓库Actions已启用,push到main自动触发部署
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: deploy-userbase-front
|
||||
|
||||
# 前端部署(方案 B:不打包镜像,直接部署静态文件 + 软链接版本控制)
|
||||
# 触发:push 到 main / 手动 Run workflow
|
||||
# 触发:push 到 main(已启用仓库 Actions,push 自动部署)/ 手动 Run workflow
|
||||
# 核心:vite build --mode prod -> dist/prod
|
||||
# -> 拷贝到 /data/www/userbase/releases/<version>/
|
||||
# -> 原子切换 /data/www/userbase/front 软链接指向新版本
|
||||
|
||||
Reference in New Issue
Block a user