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