-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
31 lines (29 loc) · 869 Bytes
/
Copy pathaction.yml
File metadata and controls
31 lines (29 loc) · 869 Bytes
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
# This file is adapted from https://github.com/alinz/ssh-scp-action and https://github.com/AEnterprise/rsync-deploy.
# All the actual credit goes to the original developers.
name: 'rsync-with-ssh-github-actions'
description: 'Executing remote ssh and rsync commands'
author: 'Kerem Gure'
inputs:
host:
description: 'ssh remote host'
port:
description: 'ssh remote port'
default: 22
user:
description: 'ssh user'
key:
description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa'
destination:
description: 'the path where rsync will use as destination'
ssh_before:
description: 'execute commands before rsync'
ssh_after:
description: 'execute commands after rsync'
args:
description: 'arguments to pass for rsync'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'server'
color: 'green'