将停止服务分开执行, 修复3
This commit is contained in:
@@ -7,12 +7,6 @@ on:
|
|||||||
env:
|
env:
|
||||||
DESTINATION: C:\Facebook
|
DESTINATION: C:\Facebook
|
||||||
REPOSITORY_URL: http://deploy:123qwe123@123.58.209.87:3000/py_facebook/py_facebook.git
|
REPOSITORY_URL: http://deploy:123qwe123@123.58.209.87:3000/py_facebook/py_facebook.git
|
||||||
MACHINES: |
|
|
||||||
[
|
|
||||||
"windows-101.36.102.136",
|
|
||||||
"windows-101.36.104.175"
|
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
StopService:
|
StopService:
|
||||||
@@ -22,7 +16,9 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
machine: ${{ fromJson(env.MACHINES) }} # 使用公共的 machines 列表
|
machine:
|
||||||
|
- windows-101.36.102.136
|
||||||
|
- windows-101.36.104.175
|
||||||
steps:
|
steps:
|
||||||
- name: Stop previous service
|
- name: Stop previous service
|
||||||
run: |
|
run: |
|
||||||
@@ -38,7 +34,9 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
machine: ${{ fromJson(env.MACHINES) }} # 使用公共的 machines 列表
|
machine:
|
||||||
|
- windows-101.36.102.136
|
||||||
|
- windows-101.36.104.175
|
||||||
steps:
|
steps:
|
||||||
- name: 更新或clone项目
|
- name: 更新或clone项目
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|||||||
Reference in New Issue
Block a user