deployphp/action.yaml

56 lines
1.3 KiB
YAML
Raw Normal View History

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: >
2021-10-15 21:07:42 +00:00
The SSH configuration. Content of `~/.ssh/config` file.
deployer-version:
required: false
default: ''
description: >
Deployer version to download from deployer.org.
First, the action will check for Deployer binary at those paths:
- `vendor/bin/dep`
- `deployer.phar`
If the binary not found, phar version will be downloaded from
[deployer.org](https://deployer.org/download).
2021-10-15 20:41:21 +00:00
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