mirror of
https://github.com/deployphp/action.git
synced 2025-06-29 20:54:14 +00:00
Update action
This commit is contained in:
parent
c17d254b53
commit
2c2db8c641
59 changed files with 1430 additions and 4763 deletions
38
action.yaml
38
action.yaml
|
@ -1,24 +1,42 @@
|
|||
name: 'deployphp/action'
|
||||
|
||||
description: 'Deploy with Deployer'
|
||||
|
||||
inputs:
|
||||
|
||||
private-key:
|
||||
description: 'Private key'
|
||||
required: true
|
||||
known-hosts:
|
||||
description: 'Known hosts'
|
||||
required: false
|
||||
default: ''
|
||||
ssh-config:
|
||||
description: 'SSH configuration'
|
||||
required: false
|
||||
default: ''
|
||||
description: >
|
||||
Private key for connecting to remote hosts. To generate private key:
|
||||
`ssh-keygen -o -t rsa -C 'action@deployer.org'`.
|
||||
|
||||
dep:
|
||||
description: 'Deployer command'
|
||||
required: true
|
||||
description: >
|
||||
The deployer task to run. For example:
|
||||
`deploy all`.
|
||||
|
||||
known-hosts:
|
||||
required: false
|
||||
default: ''
|
||||
description: >
|
||||
Content of `~/.ssh/known_hosts` file. The public SSH keys for a
|
||||
host may be obtained using the utility `ssh-keyscan`. For example,
|
||||
`ssh-keyscan deployer.org`.
|
||||
|
||||
If known-hosts omitted, `StrictHostKeyChecking no` will be added to
|
||||
`ssh_config`.
|
||||
|
||||
ssh-config:
|
||||
required: false
|
||||
default: ''
|
||||
description: >
|
||||
The SSH configuration.
|
||||
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'index.js'
|
||||
|
||||
branding:
|
||||
color: blue
|
||||
icon: send
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue