1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-10-29 03:16:57 +08:00

chore(ci): 对齐 Docker 与 CD 构建产物路径

构建输出目录改为根目录 .vuepress/dist,与新版 VuePress 源目录配置一致。
This commit is contained in:
chufan
2026-09-21 17:16:40 +08:00
parent 2ddd14abfe
commit 3757f5a615
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vuepress/dist
path: .vuepress/dist
# 部署
- name: Deploy to GitHub Pages

View File

@@ -45,5 +45,5 @@ LABEL "repo.name"=$APP_NAME "repo.version"=$APP_VERSION \
# Git信息
LABEL "git.hash"="$GIT_HASH" "git.message"="$GIT_MESSAGE"
# 将dist文件中的内容复制到 /usr/share/nginx/html/ 这个目录下面 注意:--from参数
COPY --from=build_base /apps/docs/.vuepress/dist/ /usr/share/nginx/html/
COPY --from=build_base /apps/.vuepress/dist/ /usr/share/nginx/html/
COPY --from=build_base /apps/nginx.conf /etc/nginx/