Commit 704a790d authored by 张醒狮's avatar 张醒狮

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

parent 8dad725e
...@@ -53,5 +53,5 @@ check_and_cicd: ...@@ -53,5 +53,5 @@ check_and_cicd:
- '[[ $? != 0 ]] && echo "部署出错!" && exit 1' - '[[ $? != 0 ]] && echo "部署出错!" && exit 1'
# 部署服务器 # 部署服务器
- 'webpath=/www/web/${CI_PROJECT_PATH_SLUG}/public_html' - 'webpath=/www/web/${CI_PROJECT_PATH_SLUG}/public_html'
- ssh root@192.168.192.69 "mkdir -p ${webpath}" - ssh www@192.168.192.69 "mkdir -p ${webpath}"
- rsync --quiet -azv --delete dist/ www@192.168.192.69:${webpath} - rsync --quiet -azv --delete dist/ www@192.168.192.69:${webpath}
\ No newline at end of file
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