...
|
...
|
@@ -3,19 +3,20 @@ stages: |
|
|
- pull
|
|
|
|
|
|
# job 华为测试服务添加自动部署
|
|
|
#job1:
|
|
|
# stage: pull
|
|
|
# tags:
|
|
|
# - huawei8
|
|
|
# script:
|
|
|
# - cd /home/wwwroot/t/silk
|
|
|
# - git pull
|
|
|
job1:
|
|
|
stage: pull
|
|
|
tags:
|
|
|
- huawei8
|
|
|
script:
|
|
|
- whoami
|
|
|
- cd /home/wwwroot/t/silk
|
|
|
- git pull
|
|
|
|
|
|
# job 华为正式服务器添加自动部署 两个job同时存在为同时向两个服务器推送
|
|
|
job2:
|
|
|
stage: pull
|
|
|
tags:
|
|
|
- huawei9
|
|
|
- huawei9
|
|
|
script:
|
|
|
- cd /home/wwwroot/fast/silk
|
|
|
- git pull |
|
|
\ No newline at end of file |
...
|
...
|
|