diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index d1d6bc2..262a04e 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -7,12 +7,6 @@ on: env: DESTINATION: C:\Facebook 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: StopService: @@ -22,7 +16,9 @@ jobs: shell: powershell strategy: matrix: - machine: ${{ fromJson(env.MACHINES) }} # 使用公共的 machines 列表 + machine: + - windows-101.36.102.136 + - windows-101.36.104.175 steps: - name: Stop previous service run: | @@ -38,7 +34,9 @@ jobs: shell: powershell strategy: matrix: - machine: ${{ fromJson(env.MACHINES) }} # 使用公共的 machines 列表 + machine: + - windows-101.36.102.136 + - windows-101.36.104.175 steps: - name: 更新或clone项目 shell: powershell