mirror of
https://github.com/deployphp/action.git
synced 2024-11-23 04:19:02 +00:00
43 lines
890 B
YAML
43 lines
890 B
YAML
name: 'deployphp/action'
|
|
|
|
description: 'Deploy with Deployer'
|
|
|
|
inputs:
|
|
|
|
private-key:
|
|
required: true
|
|
description: >
|
|
Private key for connecting to remote hosts. To generate private key:
|
|
`ssh-keygen -o -t rsa -C 'action@deployer.org'`.
|
|
|
|
dep:
|
|
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
|