Commit a8b532c2 authored by 吴军's avatar 吴军

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

parent 6fd94844
......@@ -52,6 +52,8 @@ check_and_cicd:
# 部署OSS
- '[[ ${EnableOSS} = "true" ]] && ossutil64 cp -rf dist/ oss://zmcms-cn-vue/${NginxAliasDirectory} --exclude "*.html" --exclude ".htaccess" && echo "推送对象存储成功!"'
- '[[ $? != 0 ]] && echo "部署出错!" && exit 1'
# 列出所有文件和目录
- ls -lh
# 部署服务器
- "webpath=/www/web/${CI_PROJECT_PATH_SLUG}/public_html"
- ssh www@192.168.192.69 "mkdir -p ${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