明树Git Lab

Commit 3f1edd1a authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent c91ab8b1
Pipeline #103788 failed with stage
in 1 second
#-----------------------------------------------bsy-------------------------------------------------------
# 自动部署到bsy环境
#-----------------------------------------------gzb-------------------------------------------------------
# 自动部署到gzb环境
stages:
- package
- deploy
package to bsy:
package to gzb:
stage: package
image: lgatica/openssh-client
script:
......@@ -20,7 +20,8 @@ package to bsy:
cd /srv/jt_backend &&
git checkout ./package.json &&
git pull &&
npm install --registry https://registry.npmmirror.com
npm install --registry https://registry.npmmirror.com &&
pm2 start .\ecosystem.config.js --env production &&
"
environment:
name: master
......
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