-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
executable file
·44 lines (44 loc) · 1.09 KB
/
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
41
42
43
44
name: 'Publish FTP action'
description: 'This action publish your repo in a (S)FTP server'
inputs:
host:
description: '(S)FTP host'
required: true
username:
description: '(S)FTP user'
required: true
password:
description: '(S)FTP password'
required: false
ssh_key:
description: 'SSH key used for the connection (passphrase is not supported)'
required: false
remote_folder:
description: 'Remote folder to chdir'
required: false
local_folder:
description: 'Repository folder to transfer'
required: false
port:
description: '(S)FTP port'
required: false
type:
description: 'FTP or SFTP protocol'
required: false
put_github_sha:
description: 'Transfer file named with the pushed GitHub SHA'
required: false
output:
exit-status:
description: 'Exit status of the (S)FTP transfer'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.host }}
- ${{ inputs.username }}
- ${{ inputs.password }}
- ${{ inputs.ssh_key }}
- ${{ inputs.folder }}
- ${{ inputs.port }}
- ${{ inputs.type }}