chore: update default timeout to 10 minutes

This commit is contained in:
Bo-Yi Wu 2019-11-30 23:01:49 +08:00
parent 696aab4627
commit 9085f3ea5b
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM appleboy/drone-ssh:1.5.3-linux-amd64 FROM appleboy/drone-ssh:1.5.4-linux-amd64
ADD entrypoint.sh /entrypoint.sh ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh

View File

@ -50,7 +50,7 @@ See [action.yml](./action.yml) for more detailed information.
* username - ssh username * username - ssh username
* password - ssh password * password - ssh password
* timeout - timeout for ssh to remote host, default is `30s` * timeout - timeout for ssh to remote host, default is `30s`
* command_timeout - timeout for ssh command, default is `1m` * command_timeout - timeout for ssh command, default is `10m`
* key - content of ssh private key. ex raw content of ~/.ssh/id_rsa * key - content of ssh private key. ex raw content of ~/.ssh/id_rsa
* key_path - path of ssh private key * key_path - path of ssh private key
* script - execute commands * script - execute commands

View File

@ -16,7 +16,7 @@ inputs:
default: "30s" default: "30s"
command_timeout: command_timeout:
description: 'timeout for ssh command' description: 'timeout for ssh command'
default: "1m" default: "10m"
key: key:
description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa' description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa'
key_path: key_path: