forked from Pendect/action-rsyncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
38 lines (38 loc) · 877 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
30
31
32
33
34
35
36
37
38
# action.yml
name: 'RSyncer Action'
description: 'Sync content from a workflow to a remote server'
author: 'Pendect Team'
branding:
icon: 'truck'
color: 'blue'
inputs:
flags:
description: 'Rsync flags'
required: true
default: '-avzr --delete'
options:
description: 'Rsync options (exclusion)'
required: true
default: ''
ssh_options:
description: 'SSH command line options'
required: true
default: ''
src:
description: 'Local folder to be synced'
required: true
dest:
description: 'Remote server and path. i.e [email protected]:/var/www/server.com/'
required: true
outputs:
status:
description: 'Status of the command'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.flags }}
- ${{ inputs.options }}
- ${{ inputs.ssh_options }}
- ${{ inputs.src }}
- ${{ inputs.dest }}