deployphp/action.yaml
Thomas Ali d12c16f961
Add self-hosted option to action (#52)
+ This skips over the SSH configuration part of the action.
+ This is because self-hosted runners would typically have SSH already running causing ssh-agent command to throw an error (process already exists/port in use)
2023-01-10 14:47:26 +01:00

58 lines
1.1 KiB
YAML

name: 'deployphp/action'
description: 'Deploy with Deployer'
inputs:
dep:
required: true
description: The command.
self-hosted:
required: false
default: 'false'
description: Whether the action is running on a self-hosted runner.
private-key:
required: false
default: ''
description: The private key for connecting to remote hosts.
known-hosts:
required: false
default: ''
description: Content of `~/.ssh/known_hosts` file.
ssh-config:
required: false
default: ''
description: The SSH configuration
deployer-version:
required: false
default: ''
description: Deployer version to download from deployer.org.
deployer-binary:
required: false
default: ''
description: Path to local Deployer binary.
ansi:
required: false
default: 'true'
description: Whether to enable ANSI output.
verbosity:
required: false
default: '-v'
description: Verbosity level Can be -v, -vv or -vvv.
runs:
using: 'node16'
main: 'index.js'
branding:
color: blue
icon: send