summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshizhendong <[email protected]>2023-04-13 09:22:23 +0800
committershizhendong <[email protected]>2023-04-13 09:22:23 +0800
commit35fda6bc721f4cc9eb857f9bc6969c0ef31008c9 (patch)
treeaaa50adfdb3f44ee3602e234c9ec7b9d6e134850
parent4a4faaa116cbb11653f926a1f33356418fa7281c (diff)
fix: snapshot_template.html 使用本地依赖rel-23.11.11
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5cca0580..2cf37b8a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,11 +90,11 @@ rel_build:
- npm run build:html
- mc alias set nz $MINIO_HOST $MINIO_USER $MINIO_PWD
- - mc cp dist/index.html nz/depends/template/snapshot_template.html
+ - mkdir -p /builds/nezha/nezha-fronted/nezha-fronted/snapshot_template && cp dist/index.html /builds/nezha/nezha-fronted/nezha-fronted/snapshot_template/snapshot_template.html
- npm run build
- cd /builds/nezha/nezha-fronted/nezha-fronted/dist
- - mc cp nz/depends/template/snapshot_template.html ./snapshot_template.html
+ - cp /builds/nezha/nezha-fronted/nezha-fronted/snapshot_template/snapshot_template.html ./snapshot_template.html
- zip -m nz-gui*.zip ./snapshot_template.html
- mv nz-gui*.zip nz-gui-$CI_COMMIT_SHORT_SHA.zip
- md5sum nz-gui-$CI_COMMIT_SHORT_SHA.zip > nz-gui-$CI_COMMIT_SHORT_SHA.zip.md5sum.txt