-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (29 loc) · 925 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
name: "File deployments"
description: "GitHub Action that uploads files to remote servers (rsync + SSH)"
author: "49nord GmbH"
inputs:
src:
description: The local path that should be uploaded. Should end with a slash.
required: true
dest:
description: The remote location to sync to, e.g. `user@host:/path/to/dest/`. Should end with a slash.
required: true
ssh_key:
description: SSH private key to add before attempting any transfer.
required: true
known_hosts:
description: SSH known hosts file.
required: true
rsync_args:
description: Arguments passed to `rsync`. The defaults should cover most usecases.
default: "--delete -avz"
required: false
ssh_args:
description: Argments passed to `rsyncs` SSH invocation, e.g. to pass a custom port use `-p 12345`.
required: false
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "send"
color: "blue"