同步到两台服务器
This commit is contained in:
@@ -7,6 +7,8 @@ api: #随意填写,起标示作用
|
||||
|
||||
only:
|
||||
- deploy #指定触发分支
|
||||
tags:
|
||||
- "155auto"
|
||||
|
||||
script:
|
||||
- pwd
|
||||
@@ -21,7 +23,8 @@ cli: #随意填写,起标示作用
|
||||
|
||||
only:
|
||||
- deploy #指定触发分支
|
||||
|
||||
tags:
|
||||
- "155auto"
|
||||
|
||||
script:
|
||||
- pwd
|
||||
@@ -37,7 +40,7 @@ cli: #随意填写,起标示作用
|
||||
only:
|
||||
- deploy #指定触发分支
|
||||
tags:
|
||||
- "156aoto"
|
||||
- "156auto"
|
||||
script:
|
||||
- pwd
|
||||
- docker stop auto-custom-clibrary-api || true && docker rm auto-custom-clibrary-api || true
|
||||
@@ -52,7 +55,7 @@ cli: #随意填写,起标示作用
|
||||
only:
|
||||
- deploy #指定触发分支
|
||||
tags:
|
||||
- "156aoto"
|
||||
- "156auto"
|
||||
script:
|
||||
- pwd
|
||||
- docker stop auto-custom-clibrary-cli || true && docker rm auto-custom-clibrary-cli || true
|
||||
|
||||
@@ -7,7 +7,7 @@ services:
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
working_dir: /usr/src/python
|
||||
command: robot -i tsg_bf_api -d $time/ autotsg
|
||||
command: robot -i tsg_bf_api -d api/$time/ autotsg
|
||||
privileged: true
|
||||
volumes:
|
||||
- /home/autotsg-gao:/usr/src/python
|
||||
|
||||
Reference in New Issue
Block a user