mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-21 12:02:09 +10:00
add optional REMOTE_PORT
env to configuration
This commit is contained in:
parent
a3d2df0501
commit
0d77a6681b
6 changed files with 44 additions and 33 deletions
35
action.yml
35
action.yml
|
@ -1,28 +1,31 @@
|
|||
name: 'ssh deploy'
|
||||
description: 'NodeJS action for FAST deployment with rsync/ssh'
|
||||
author: 'easingthemes'
|
||||
name: "ssh deploy"
|
||||
description: "NodeJS action for FAST deployment with rsync/ssh"
|
||||
author: "easingthemes"
|
||||
inputs:
|
||||
SSH_PRIVATE_KEY: # Private Key
|
||||
description: 'Private Key'
|
||||
SSH_PRIVATE_KEY: # Private Key
|
||||
description: "Private Key"
|
||||
required: true
|
||||
REMOTE_HOST:
|
||||
description: 'Remote host'
|
||||
description: "Remote host"
|
||||
required: true
|
||||
REMOTE_USER:
|
||||
description: 'Remote user'
|
||||
description: "Remote user"
|
||||
required: true
|
||||
REMOTE_PORT:
|
||||
description: "Remote port"
|
||||
default: "22"
|
||||
SOURCE:
|
||||
description: 'Source directory'
|
||||
default: ''
|
||||
description: "Source directory"
|
||||
default: ""
|
||||
TARGET:
|
||||
description: 'Target directory'
|
||||
default: '/home/REMOTE_USER/'
|
||||
description: "Target directory"
|
||||
default: "/home/REMOTE_USER/"
|
||||
outputs:
|
||||
status:
|
||||
description: 'Status'
|
||||
description: "Status"
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/index.js'
|
||||
using: "node12"
|
||||
main: "dist/index.js"
|
||||
branding:
|
||||
color: 'green'
|
||||
icon: 'truck'
|
||||
color: "green"
|
||||
icon: "truck"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue