.gitlab-ci.yml
402 字节
# stages
stages:
- pull
# job 华为测试服务添加自动部署
job1:
stage: pull
tags:
- huawei8
script:
- whoami
- cd /home/wwwroot/t/enterprise
- git pull
# job 华为正式服务器添加自动部署 两个job同时存在为同时向两个服务器推送
job2:
stage: pull
tags:
- huawei9
script:
- cd /home/wwwroot/fast/enterprisetest
- git pull