Compare commits
2 Commits
3ec54a128a
...
1ec01bdf99
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ec01bdf99 | |||
| 83c611bb20 |
20
README.md
20
README.md
@@ -25,25 +25,23 @@ Below is a brief example on how the action can be used:
|
||||
|
||||
## Input Configurations
|
||||
### `remote_docker_host`
|
||||
Remote Docker host ie (user@host).
|
||||
Remote Docker host.
|
||||
### `remote_docker_user`
|
||||
Remote Docker user.
|
||||
### `remote_docker_port`
|
||||
Remote Docker ssh port ie (22).
|
||||
### `ssh_public_key`
|
||||
Remote Docker SSH public key eg (~/.ssh/rsa_id.pub).
|
||||
### `ssh_private_key`
|
||||
SSH private key used to connect to the docker host eg (~/.ssh/rsa_id).
|
||||
### `ssh_proxy_cmd`
|
||||
SSH ProxyCommand used to connect to the docker host.
|
||||
### `args`
|
||||
Deployment command args.
|
||||
### `deployment_mode`
|
||||
Deployment mode either docker-swarm or docker-compose. Default is docker-compose.
|
||||
### `copy_stack_file`
|
||||
Copy stack file to remote server and deploy from the server. Default is false.
|
||||
### `deploy_path`
|
||||
The path where the stack files will be copied to. Default ~/docker-deployment.
|
||||
The absolute path on remote docker host to deploy, default rely on repo working directory.
|
||||
### `stack_file_name`
|
||||
Docker stack file used. Default is docker-compose.yml.
|
||||
### `keep_files`
|
||||
Number of the files to be kept on the server. Default is 3.
|
||||
Compose configuration files.
|
||||
### `env_file_name`
|
||||
Specify an alternate environment file.
|
||||
### `docker_prune`
|
||||
A boolean input to trigger docker prune command. Default is false.
|
||||
### `pre_deployment_command_args`
|
||||
|
||||
@@ -11,9 +11,6 @@ inputs:
|
||||
description: Remote Docker ssh port ie (22).
|
||||
required: false
|
||||
default: '22'
|
||||
# ssh_public_key:
|
||||
# description: Remote Docker SSH public key eg (~/.ssh/rsa_id.pub).
|
||||
# required: true
|
||||
ssh_private_key:
|
||||
description: SSH private key used to connect to the docker host eg (~/.ssh/rsa_id).
|
||||
required: true
|
||||
@@ -32,9 +29,6 @@ inputs:
|
||||
env_file_name:
|
||||
description: Specify an alternate environment file.
|
||||
required: false
|
||||
keep_files:
|
||||
description: Number of the files to be kept on the server. Default is 3.
|
||||
required: false
|
||||
docker_prune:
|
||||
description: A boolean input to trigger docker prune command. Default is false.
|
||||
required: false
|
||||
|
||||
Reference in New Issue
Block a user