burnett01-rsync-deployments/action.yml

42 lines
911 B
YAML
Raw Normal View History

2019-12-04 23:16:03 +08:00
name: 'Rsync Deployments Action'
2019-12-04 23:15:06 +08:00
description: 'GitHub Action for deploying code via rsync over ssh'
author: 'Burnett01'
inputs:
2019-12-05 01:31:26 +08:00
switches:
description: 'The switches'
2019-12-04 23:15:06 +08:00
required: true
rsh:
2019-12-05 01:31:26 +08:00
description: 'The remote shell argument'
required: false
default: ''
2019-12-04 23:15:06 +08:00
path:
2019-12-05 01:31:26 +08:00
description: 'The local path'
required: false
default: ''
remote_path:
description: 'The remote path'
required: true
remote_host:
description: 'The remote host'
required: true
2019-12-05 01:58:23 +08:00
remote_port:
description: 'The remote port'
required: false
default: 22
2019-12-05 01:31:26 +08:00
remote_user:
description: 'The remote user'
required: true
remote_key:
description: 'The remote key'
required: true
remote_key_pass:
description: 'The remote key passphrase'
required: false
default: ''
2019-12-04 23:15:06 +08:00
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'send'
color: 'gray-dark'