27 lines
582 B
YAML
27 lines
582 B
YAML
name: 'ssh deploy'
|
|
description: 'NodeJS action for FAST deployment with rsync/ssh'
|
|
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:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|
|
branding:
|
|
color: 'green'
|
|
icon: 'truck' |