2019-12-29 14:36:34 +00:00
|
|
|
name: "ssh deploy"
|
|
|
|
description: "NodeJS action for FAST deployment with rsync/ssh"
|
|
|
|
author: "easingthemes"
|
2019-10-02 21:52:52 +00:00
|
|
|
inputs:
|
2019-12-29 14:36:34 +00:00
|
|
|
SSH_PRIVATE_KEY: # Private Key
|
|
|
|
description: "Private Key"
|
2019-10-02 21:52:52 +00:00
|
|
|
required: true
|
|
|
|
REMOTE_HOST:
|
2019-12-29 14:36:34 +00:00
|
|
|
description: "Remote host"
|
2019-10-02 21:52:52 +00:00
|
|
|
required: true
|
|
|
|
REMOTE_USER:
|
2019-12-29 14:36:34 +00:00
|
|
|
description: "Remote user"
|
2019-10-02 21:52:52 +00:00
|
|
|
required: true
|
2019-12-29 14:36:34 +00:00
|
|
|
REMOTE_PORT:
|
|
|
|
description: "Remote port"
|
|
|
|
default: "22"
|
2019-10-02 21:52:52 +00:00
|
|
|
SOURCE:
|
2019-12-29 14:36:34 +00:00
|
|
|
description: "Source directory"
|
|
|
|
default: ""
|
2019-10-02 21:52:52 +00:00
|
|
|
TARGET:
|
2019-12-29 14:36:34 +00:00
|
|
|
description: "Target directory"
|
|
|
|
default: "/home/REMOTE_USER/"
|
2019-10-02 21:52:52 +00:00
|
|
|
outputs:
|
|
|
|
status:
|
2019-12-29 14:36:34 +00:00
|
|
|
description: "Status"
|
2019-10-02 21:52:52 +00:00
|
|
|
runs:
|
2019-12-29 14:36:34 +00:00
|
|
|
using: "node12"
|
|
|
|
main: "dist/index.js"
|
2019-10-02 21:52:52 +00:00
|
|
|
branding:
|
2019-12-29 14:36:34 +00:00
|
|
|
color: "green"
|
|
|
|
icon: "truck"
|