58
58
runs-on : ubuntu-latest
59
59
steps :
60
60
- name : executing remote ssh commands using password
61
- uses :
appleboy/[email protected] .7
61
+ uses :
appleboy/[email protected] .8
62
62
with :
63
63
host : ${{ secrets.HOST }}
64
64
username : ${{ secrets.USERNAME }}
190
190
191
191
``` yaml
192
192
- name : executing remote ssh commands using password
193
- uses :
appleboy/[email protected] .7
193
+ uses :
appleboy/[email protected] .8
194
194
with :
195
195
host : ${{ secrets.HOST }}
196
196
username : ${{ secrets.USERNAME }}
203
203
204
204
` ` ` yaml
205
205
- name : executing remote ssh commands using ssh key
206
- uses :
appleboy/[email protected] .7
206
+ uses :
appleboy/[email protected] .8
207
207
with :
208
208
host : ${{ secrets.HOST }}
209
209
username : ${{ secrets.USERNAME }}
216
216
217
217
` ` ` yaml
218
218
- name : multiple command
219
- uses :
appleboy/[email protected] .7
219
+ uses :
appleboy/[email protected] .8
220
220
with :
221
221
host : ${{ secrets.HOST }}
222
222
username : ${{ secrets.USERNAME }}
233
233
234
234
` ` ` diff
235
235
- name : multiple host
236
- uses :
appleboy/[email protected] .7
236
+ uses :
appleboy/[email protected] .8
237
237
with :
238
238
- host : " foo.com"
239
239
+ host : " foo.com,bar.com"
249
249
250
250
` ` ` diff
251
251
- name : multiple host
252
- uses :
appleboy/[email protected] .7
252
+ uses :
appleboy/[email protected] .8
253
253
with :
254
254
- host : " foo.com"
255
255
+ host : " foo.com:1234,bar.com:5678"
264
264
265
265
` ` ` diff
266
266
- name : multiple host
267
- uses :
appleboy/[email protected] .7
267
+ uses :
appleboy/[email protected] .8
268
268
with :
269
269
host : " foo.com,bar.com"
270
270
+ sync : true
280
280
281
281
` ` ` diff
282
282
- name : pass environment
283
- uses :
appleboy/[email protected] .7
283
+ uses :
appleboy/[email protected] .8
284
284
+ env :
285
285
+ FOO : " BAR"
286
286
+ BAR : " FOO"
@@ -305,7 +305,7 @@ _Inside `env` object, you need to pass every environment variable as a string, p
305
305
306
306
` ` ` diff
307
307
- name: stop script if command error
308
- uses: appleboy/[email protected] .7
308
+ uses: appleboy/[email protected] .8
309
309
with:
310
310
host: ${{ secrets.HOST }}
311
311
username: ${{ secrets.USERNAME }}
@@ -358,7 +358,7 @@ Host FooServer
358
358
359
359
` ` ` diff
360
360
- name: ssh proxy command
361
- uses: appleboy/[email protected] .7
361
+ uses: appleboy/[email protected] .8
362
362
with:
363
363
host: ${{ secrets.HOST }}
364
364
username: ${{ secrets.USERNAME }}
@@ -381,7 +381,7 @@ It is not uncommon for files to leak from backups or decommissioned hardware, an
381
381
382
382
` ` ` diff
383
383
- name: ssh key passphrase
384
- uses: appleboy/[email protected] .7
384
+ uses: appleboy/[email protected] .8
385
385
with:
386
386
host: ${{ secrets.HOST }}
387
387
username: ${{ secrets.USERNAME }}
@@ -407,7 +407,7 @@ Now you can adjust you config:
407
407
408
408
` ` ` diff
409
409
- name: ssh key passphrase
410
- uses: appleboy/[email protected] .7
410
+ uses: appleboy/[email protected] .8
411
411
with:
412
412
host: ${{ secrets.HOST }}
413
413
username: ${{ secrets.USERNAME }}
0 commit comments