-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
32 lines (32 loc) · 783 Bytes
/
action.yml
File metadata and controls
32 lines (32 loc) · 783 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
32
name: "sftp-deploy-action"
description: "Mirror files in github actions with sftp to a server"
inputs:
host:
description: "SFTP host, include port with :<port>"
required: true
username:
description: "SFTP user"
required: true
password:
description: "SFTP password"
required: true
known_hosts:
description: "Content of the .ssh/known_hosts file"
required: false
lftp_mirror_args:
description: "Arguments to lftp mirror command"
default: "--reverse --continue --dereference"
source:
description: "Local source directory"
required: false
default: "."
remote:
description: "Remote directory"
required: false
default: "."
runs:
using: "docker"
image: "Dockerfile"
branding:
color: "blue"
icon: "upload"