2020-11-17 13:56:19 +00:00
|
|
|
name: 'deployphp/action'
|
2021-10-15 20:41:21 +00:00
|
|
|
|
2020-11-10 22:03:10 +00:00
|
|
|
description: 'Deploy with Deployer'
|
2021-10-15 20:41:21 +00:00
|
|
|
|
2020-11-10 22:03:10 +00:00
|
|
|
inputs:
|
2021-10-15 20:41:21 +00:00
|
|
|
|
2020-11-10 22:03:10 +00:00
|
|
|
private-key:
|
|
|
|
required: true
|
2021-10-15 20:41:21 +00:00
|
|
|
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`.
|
|
|
|
|
2020-11-10 22:03:10 +00:00
|
|
|
known-hosts:
|
|
|
|
required: false
|
|
|
|
default: ''
|
2021-10-15 20:41:21 +00:00
|
|
|
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`.
|
|
|
|
|
2021-05-01 09:32:31 +00:00
|
|
|
ssh-config:
|
2020-11-10 22:03:10 +00:00
|
|
|
required: false
|
|
|
|
default: ''
|
2021-10-15 20:41:21 +00:00
|
|
|
description: >
|
|
|
|
The SSH configuration.
|
|
|
|
|
2020-11-10 22:03:10 +00:00
|
|
|
runs:
|
|
|
|
using: 'node12'
|
|
|
|
main: 'index.js'
|
2021-10-15 20:41:21 +00:00
|
|
|
|
2020-11-10 22:03:10 +00:00
|
|
|
branding:
|
|
|
|
color: blue
|
2020-11-13 20:49:26 +00:00
|
|
|
icon: send
|