easingthemes-ssh-deploy/action.yml

28 lines
605 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 07:17:24 +08:00
author: 'easingthemes'
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'