-
Notifications
You must be signed in to change notification settings - Fork 22
/
action.yml
38 lines (38 loc) · 901 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 'ssh-scp-ssh-pipelines'
description: 'Pipelines: ssh -> scp -> ssh'
author: 'Scott Ng'
inputs:
host:
description: 'ssh remote host'
required: true
port:
description: 'ssh remote port'
default: 22
user:
description: 'ssh remote user'
required: true
key:
description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa'
required: false
pass:
description: 'ssh remote password'
required: false
connect_timeout:
description: 'connection timeout to remote host'
default: "30s"
required: false
first_ssh:
description: 'execute pre-commands before scp'
required: false
scp:
description: 'scp from local to remote'
required: false
last_ssh:
description: 'execute post-commands after scp'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'terminal'
color: 'gray-dark'