Commit 6fd94844 authored by 吴军's avatar 吴军

更新.gitlab-ci-vue-qmai-runner2.yml

parent 62c7934d
......@@ -21,6 +21,8 @@
# 环境变量
variables:
GIT_SUBMODULE_STRATEGY: recursive # 开启子模块
# build之后的资源路径
buildSrc: dist/
stages:
- check_and_cicd
......@@ -53,4 +55,4 @@ check_and_cicd:
# 部署服务器
- "webpath=/www/web/${CI_PROJECT_PATH_SLUG}/public_html"
- ssh www@192.168.192.69 "mkdir -p ${webpath}"
- rsync --quiet -azv --delete dist/ www@192.168.192.69:${webpath}
- rsync --quiet -azv --delete ${buildSrc} www@192.168.192.69:${webpath}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment