-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
40 lines (40 loc) · 965 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
39
40
name: 'Use Proxy to SSH and Rsync'
description: 'Github -> proxy -> server'
author: 'specerxi'
branding:
icon: 'copy'
color: 'blue'
inputs:
rsync_flags:
description: 'you know'
dst_host:
description: 'online host'
dst_port:
description: 'online port'
default: 22
dst_user:
description: 'online user'
proxy_host:
description: ''
proxy_port:
description: ''
default: 22
proxy_user:
description: ''
src_file:
description: 'src file name'
cache:
description: 'use the file last build, rsync to proxy host'
proxy_file_path:
description: 'temporary save path'
dst_file_path:
description: 'online save path'
key:
description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa'
ssh_before:
description: 'execute commands before rsync on online host'
ssh_after:
description: 'execute commands after rsync on online host'
runs:
using: 'docker'
image: 'Dockerfile'