easingthemes-ssh-deploy/action.yml
Dragan Filipovic 12adb9b839 BREAKING CHANGE: update to use nodeJS v16
Since it's used in Github environment it should not have any impact in usage.
Just in case major version updated.

Fixes #82
2022-10-28 03:44:28 +02:00

43 lines
925 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"
required: false
default: "22"
SOURCE:
description: "Source directory"
required: false
default: ""
TARGET:
description: "Target directory"
required: false
default: "/home/REMOTE_USER/"
ARGS:
description: "Arguments to pass to rsync"
required: false
default: "-rltgoDzvO"
EXCLUDE:
description: "An array of folder to exclude"
required: false
default: ""
outputs:
status:
description: "Status"
runs:
using: "node16"
main: "dist/index.js"
branding:
color: "green"
icon: "truck"