ssh-deploy/action.yml

32 lines
669 B
YAML
Raw Normal View History

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