mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-19 08:08:05 +08:00
[engine] use NodeJS instead of Docker
This commit is contained in:
27
action.yml
Normal file
27
action.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: 'ssh deploy'
|
||||
description: 'For deploying code over ssh'
|
||||
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
|
||||
SOURCE:
|
||||
description: 'Source directory'
|
||||
default: ''
|
||||
TARGET:
|
||||
description: 'Target directory'
|
||||
default: '/home/REMOTE_USER/'
|
||||
outputs:
|
||||
status:
|
||||
description: 'Status'
|
||||
runs:
|
||||
using: 'node10'
|
||||
main: 'dist/index.js'
|
||||
branding:
|
||||
color: 'green'
|
||||
icon: 'truck'
|
||||
Reference in New Issue
Block a user