We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09589fb commit 1d5d4edCopy full SHA for 1d5d4ed
1 file changed
.github/workflows/maven.yml
@@ -39,6 +39,9 @@ jobs:
39
40
runs-on: ubuntu-latest
41
needs: build
42
+ strategy:
43
+ matrix:
44
+ deployHosts: ['34.227.176.180', '23.23.33.230']
45
steps:
46
- uses: actions/download-artifact@v4
47
with:
@@ -49,7 +52,7 @@ jobs:
49
52
- name: copy file to server
50
53
uses: appleboy/[email protected]
51
54
- host: ${{ secrets.HOST }}
55
+ host: ${{ matrix.deployHosts }}
56
username: ${{ secrets.USERNAME }}
57
password: ${{ secrets.PASS }}
58
port: 22
@@ -58,7 +61,7 @@ jobs:
61
- name: executing remote ssh commands using password
59
62
60
63
64
65
66
67
0 commit comments