明树Git Lab

Commit b93c0ce4 authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent fa400867
Pipeline #103662 failed with stage
in 1 second
......@@ -29,7 +29,7 @@ package to master:
- ls -la ~/.ssh/
# 真正执行部署(注意这里改成 gitlab-runner@10.40.8.7,如果你公钥是加给 gitlab-runner 用户的)
- ssh root@10.40.8.7 "cd /srv/jt_backend && git pull && npm install --registry=https://registry.npmmirror.com && rm -rf dist && npm run build"
- ssh gitlab-runner@10.40.8.7 "cd /srv/jt_backend && git pull && npm install --registry=https://registry.npmmirror.com && rm -rf dist && npm run build"
environment:
name: master
only:
......
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