Commit e50c04f2 authored by 张涵's avatar 张涵

🐛 fix: 修复 初创项目rsync失败

parent 1189b38f
...@@ -53,4 +53,5 @@ check_and_cicd: ...@@ -53,4 +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'
- 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