63
63
runs-on : ubuntu-latest
64
64
steps :
65
65
- name : executing remote ssh commands using password
66
- uses : appleboy/ssh-action@v0.1.10
66
+ uses : appleboy/ssh-action@v0.2.0
67
67
with :
68
68
host : ${{ secrets.HOST }}
69
69
username : ${{ secrets.USERNAME }}
@@ -164,7 +164,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
164
164
165
165
``` yaml
166
166
- name : executing remote ssh commands using password
167
- uses : appleboy/ssh-action@v0.1.10
167
+ uses : appleboy/ssh-action@v0.2.0
168
168
with :
169
169
host : ${{ secrets.HOST }}
170
170
username : ${{ secrets.USERNAME }}
@@ -177,7 +177,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
177
177
178
178
` ` ` yaml
179
179
- name : executing remote ssh commands using ssh key
180
- uses : appleboy/ssh-action@v0.1.10
180
+ uses : appleboy/ssh-action@v0.2.0
181
181
with :
182
182
host : ${{ secrets.HOST }}
183
183
username : ${{ secrets.USERNAME }}
@@ -190,7 +190,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
190
190
191
191
` ` ` yaml
192
192
- name : multiple command
193
- uses : appleboy/ssh-action@v0.1.10
193
+ uses : appleboy/ssh-action@v0.2.0
194
194
with :
195
195
host : ${{ secrets.HOST }}
196
196
username : ${{ secrets.USERNAME }}
@@ -207,7 +207,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
207
207
208
208
` ` ` diff
209
209
- name : multiple host
210
- uses : appleboy/ssh-action@v0.1.10
210
+ uses : appleboy/ssh-action@v0.2.0
211
211
with :
212
212
- host : " foo.com"
213
213
+ host : " foo.com,bar.com"
@@ -223,7 +223,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
223
223
224
224
` ` ` diff
225
225
- name : multiple host
226
- uses : appleboy/ssh-action@v0.1.10
226
+ uses : appleboy/ssh-action@v0.2.0
227
227
with :
228
228
- host : " foo.com"
229
229
+ host : " foo.com:1234,bar.com:5678"
@@ -238,7 +238,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
238
238
239
239
` ` ` diff
240
240
- name : multiple host
241
- uses : appleboy/ssh-action@v0.1.10
241
+ uses : appleboy/ssh-action@v0.2.0
242
242
with :
243
243
host : " foo.com,bar.com"
244
244
+ sync : true
@@ -254,7 +254,7 @@ ssh-keygen -t ed25519 -a 200 -C "your_email@example.com"
254
254
255
255
` ` ` diff
256
256
- name : pass environment
257
- uses : appleboy/ssh-action@v0.1.10
257
+ uses : appleboy/ssh-action@v0.2.0
258
258
+ env :
259
259
+ FOO : " BAR"
260
260
+ BAR : " FOO"
@@ -279,7 +279,7 @@ _Inside `env` object, you need to pass every environment variable as a string, p
279
279
280
280
` ` ` diff
281
281
- name: stop script if command error
282
- uses: appleboy/ssh-action@v0.1.10
282
+ uses: appleboy/ssh-action@v0.2.0
283
283
with:
284
284
host: ${{ secrets.HOST }}
285
285
username: ${{ secrets.USERNAME }}
@@ -332,7 +332,7 @@ Host FooServer
332
332
333
333
` ` ` diff
334
334
- name: ssh proxy command
335
- uses: appleboy/ssh-action@v0.1.10
335
+ uses: appleboy/ssh-action@v0.2.0
336
336
with:
337
337
host: ${{ secrets.HOST }}
338
338
username: ${{ secrets.USERNAME }}
@@ -355,7 +355,7 @@ It is not uncommon for files to leak from backups or decommissioned hardware, an
355
355
356
356
` ` ` diff
357
357
- name: ssh key passphrase
358
- uses: appleboy/ssh-action@v0.1.10
358
+ uses: appleboy/ssh-action@v0.2.0
359
359
with:
360
360
host: ${{ secrets.HOST }}
361
361
username: ${{ secrets.USERNAME }}
@@ -381,7 +381,7 @@ Now you can adjust you config:
381
381
382
382
` ` ` diff
383
383
- name: ssh key passphrase
384
- uses: appleboy/ssh-action@v0.1.10
384
+ uses: appleboy/ssh-action@v0.2.0
385
385
with:
386
386
host: ${{ secrets.HOST }}
387
387
username: ${{ secrets.USERNAME }}
0 commit comments