chore: update default timeout to 10 minutes

This commit is contained in:
Bo-Yi Wu 2019-11-30 23:17:05 +08:00
parent 671c934c80
commit a5de8af6d5
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM appleboy/drone-scp:1.5.3-linux-amd64 FROM appleboy/drone-scp: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

@ -40,7 +40,7 @@ see the [action.yml](./action.yml) file for more detail imformation.
* username - scp username * username - scp username
* password - scp password * password - scp 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 scp command, default is `1m` * command_timeout - timeout for scp 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
* target - target path on the server * target - target path on the server

View file

@ -16,7 +16,7 @@ inputs:
default: "30s" default: "30s"
command_timeout: command_timeout:
description: 'timeout for scp command' description: 'timeout for scp 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: