create: 前端发布使用 scripts/publish-web.ps1
MemRelay-Operation: memory-save:fact-publish-web-script-20261109 MemRelay-Resource: 18484600-c5c3-4124-9621-9a7a3dc0e7ee
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: 前端发布使用 scripts/publish-web.ps1
|
||||||
|
type: fact
|
||||||
|
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/前端发布使用-scripts-publish-web.ps1
|
||||||
|
stable_id: 18484600-c5c3-4124-9621-9a7a3dc0e7ee
|
||||||
|
scope: project
|
||||||
|
memory_type: fact
|
||||||
|
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
|
||||||
|
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||||
|
status: active
|
||||||
|
revision: 1
|
||||||
|
request_id: fact-publish-web-script-20261109
|
||||||
|
created_at: '2026-11-09T07:10:02.554673+00:00'
|
||||||
|
updated_at: '2026-11-09T07:10:02.554673+00:00'
|
||||||
|
tags:
|
||||||
|
- release
|
||||||
|
- scripts
|
||||||
|
---
|
||||||
|
|
||||||
|
前端发布不再为每个 tag 新建 Dockerfile 和 load/side/switch 脚本。命令是仓库根目录的 .\scripts\publish-web.ps1。它用 scripts/docker/Dockerfile.web-overlay 在上一个 metrix-app 镜像上覆盖 web/dist,经 scripts/prod/ssh.py 上传,再跑 scripts/prod/release-web.sh 做加载、旁路健康检查和切换。基线 tag 默认读 Temp/prod/current-web-tag.txt,也可用 -Base 指定。密码用环境变量 METRIX_SSH_PASSWORD,不写进仓库。已构建过前端时加 -SkipNpmBuild。
|
||||||
Reference in New Issue
Block a user