easingthemes-ssh-deploy/action.yml

27 lines
582 B
YAML
Raw Normal View History

2019-10-03 05:52:52 +08:00
name: 'ssh deploy'
2019-10-03 07:07:28 +08:00
description: 'NodeJS action for FAST deployment with rsync/ssh'
2019-10-03 05:52:52 +08:00
inputs:
SSH_PRIVATE_KEY: # Private Key
description: 'Private Key'
required: true
REMOTE_HOST:
description: 'Remote host'
required: true
REMOTE_USER:
description: 'Remote user'
required: true
SOURCE:
description: 'Source directory'
default: ''
TARGET:
description: 'Target directory'
default: '/home/REMOTE_USER/'
outputs:
status:
description: 'Status'
runs:
2019-10-03 06:24:52 +08:00
using: 'node12'
2019-10-03 05:52:52 +08:00
main: 'dist/index.js'
branding:
color: 'green'
icon: 'truck'