MemRelay-Operation: memory-save:fact-publish-web-script-20261109 MemRelay-Resource: 18484600-c5c3-4124-9621-9a7a3dc0e7ee
1.0 KiB
1.0 KiB
title, type, permalink, stable_id, scope, memory_type, project_id, usage_profile_id, status, revision, request_id, created_at, updated_at, tags
| title | type | permalink | stable_id | scope | memory_type | project_id | usage_profile_id | status | revision | request_id | created_at | updated_at | tags | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 前端发布使用 scripts/publish-web.ps1 | fact | main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/前端发布使用-scripts-publish-web.ps1 | 18484600-c5c3-4124-9621-9a7a3dc0e7ee | project | fact | d5a7f581-c442-4554-87b9-ee723b8b0258 | 0c9feb46-d06e-43cd-9ef0-c5813c84a998 | active | 1 | fact-publish-web-script-20261109 | 2026-11-09T07:10:02.554673+00:00 | 2026-11-09T07:10:02.554673+00:00 |
|
前端发布不再为每个 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。