ssh-deploy/action.yml
2019-12-29 18:17:28 +01:00

32 lines
669 B
YAML

name: "ssh deploy"
description: "NodeJS action for FAST deployment with rsync/ssh"
author: "easingthemes"
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
REMOTE_PORT:
description: "Remote port"
default: "22"
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"