5858 runs-on : ubuntu-latest
5959 steps :
6060 - name : executing remote ssh commands using password
61- uses :
appleboy/[email protected] .5 61+ uses :
appleboy/[email protected] .6 6262 with :
6363 host : ${{ secrets.HOST }}
6464 username : ${{ secrets.USERNAME }}
190190
191191``` yaml
192192- name : executing remote ssh commands using password
193- uses :
appleboy/[email protected] .5 193+ uses :
appleboy/[email protected] .6 194194 with :
195195 host : ${{ secrets.HOST }}
196196 username : ${{ secrets.USERNAME }}
203203
204204` ` ` yaml
205205- name : executing remote ssh commands using ssh key
206- uses :
appleboy/[email protected] .5 206+ uses :
appleboy/[email protected] .6 207207 with :
208208 host : ${{ secrets.HOST }}
209209 username : ${{ secrets.USERNAME }}
216216
217217` ` ` yaml
218218- name : multiple command
219- uses :
appleboy/[email protected] .5 219+ uses :
appleboy/[email protected] .6 220220 with :
221221 host : ${{ secrets.HOST }}
222222 username : ${{ secrets.USERNAME }}
233233
234234` ` ` diff
235235 - name : multiple host
236- uses :
appleboy/[email protected] .5 236+ uses :
appleboy/[email protected] .6 237237 with :
238238- host : " foo.com"
239239+ host : " foo.com,bar.com"
249249
250250` ` ` diff
251251 - name : multiple host
252- uses :
appleboy/[email protected] .5 252+ uses :
appleboy/[email protected] .6 253253 with :
254254- host : " foo.com"
255255+ host : " foo.com:1234,bar.com:5678"
264264
265265` ` ` diff
266266 - name : multiple host
267- uses :
appleboy/[email protected] .5 267+ uses :
appleboy/[email protected] .6 268268 with :
269269 host : " foo.com,bar.com"
270270+ sync : true
280280
281281` ` ` diff
282282 - name : pass environment
283- uses :
appleboy/[email protected] .5 283+ uses :
appleboy/[email protected] .6 284284+ env :
285285+ FOO : " BAR"
286286+ BAR : " FOO"
@@ -305,7 +305,7 @@ _Inside `env` object, you need to pass every environment variable as a string, p
305305
306306` ` ` diff
307307 - name: stop script if command error
308- uses: appleboy/[email protected] .5 308+ uses: appleboy/[email protected] .6 309309 with:
310310 host: ${{ secrets.HOST }}
311311 username: ${{ secrets.USERNAME }}
@@ -358,7 +358,7 @@ Host FooServer
358358
359359` ` ` diff
360360 - name: ssh proxy command
361- uses: appleboy/[email protected] .5 361+ uses: appleboy/[email protected] .6 362362 with:
363363 host: ${{ secrets.HOST }}
364364 username: ${{ secrets.USERNAME }}
@@ -381,7 +381,7 @@ It is not uncommon for files to leak from backups or decommissioned hardware, an
381381
382382` ` ` diff
383383 - name: ssh key passphrase
384- uses: appleboy/[email protected] .5 384+ uses: appleboy/[email protected] .6 385385 with:
386386 host: ${{ secrets.HOST }}
387387 username: ${{ secrets.USERNAME }}
@@ -407,7 +407,7 @@ Now you can adjust you config:
407407
408408` ` ` diff
409409 - name: ssh key passphrase
410- uses: appleboy/[email protected] .5 410+ uses: appleboy/[email protected] .6 411411 with:
412412 host: ${{ secrets.HOST }}
413413 username: ${{ secrets.USERNAME }}
0 commit comments