Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a5de8af6d5 | ||
|
671c934c80 | ||
|
8da6e3d335 |
@@ -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
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
@@ -36,11 +36,11 @@ jobs:
|
||||
see the [action.yml](./action.yml) file for more detail imformation.
|
||||
|
||||
* host - scp remote host
|
||||
* port - scp remote port
|
||||
* port - scp remote port, default is `22`
|
||||
* username - scp username
|
||||
* password - scp password
|
||||
* 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_path - path of ssh private key
|
||||
* target - target path on the server
|
||||
@@ -99,7 +99,6 @@ Example configuration for ignore list:
|
||||
Example configuration for multiple server
|
||||
|
||||
```diff
|
||||
- name: copy file via ssh password
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
- host: "example.com"
|
||||
|
@@ -16,7 +16,7 @@ inputs:
|
||||
default: "30s"
|
||||
command_timeout:
|
||||
description: 'timeout for scp command'
|
||||
default: "1m"
|
||||
default: "10m"
|
||||
key:
|
||||
description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa'
|
||||
key_path:
|
||||
|
Reference in New Issue
Block a user