burnett01-rsync-deployments/action.yml

46 lines
1.0 KiB
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: ''
legacy_allow_rsa_hostkeys:
description: 'Enables support for legacy RSA host keys on OpenSSH 8.8+'
required: false
default: 'false'
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'