-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (25 loc) · 910 Bytes
/
main.yml
File metadata and controls
25 lines (25 loc) · 910 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
name: SFTP Deploy
# You may pin to the exact commit or the version.
# uses: wlixcc/SFTP-Deploy-Action@da88a4dbe95286266bbac3c0b2b8284048d20c8f
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with:
# username
username:
# your sftp server
server:
# your sftp server port, default to 22
port: # default is 22
# you can copy private_key from your *.pem file, keep format
ssh_private_key:
# will put all file under this path
local_path: # default is ./*
# files will copy to under remote_path
remote_path:
# connection via sftp protocol only
sftp_only: # optional
# sftp args
sftpArgs: # optional
# This operation will delete all files in the remote path before upload. Please be careful set this to true
delete_remote_files: # optional
# SSH passsword,If a password is set, the secret key pair is ignored
password: # optional