mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2026-06-18 09:37:55 +00:00
Merge b8fc7a8ad7 into 2cc5b27bf3
This commit is contained in:
commit
e64204e74d
@ -28,8 +28,9 @@ The keys should be generated using the PEM format. You can use this command
|
||||
```
|
||||
ssh-keygen -m PEM -t rsa -b 4096
|
||||
```
|
||||
**Please Note:** You should not set a Passphrase (keep it empty) for the private key you generated.
|
||||
Because rsync ssh (used for deploy) does not support private key password to be entered as a command line parameter.
|
||||
> [!NOTE]
|
||||
> **Please:** You should not set a Passphrase (keep it empty) for the private key you generated.
|
||||
> Because rsync ssh (used for deploy) does not support private key password to be entered as a command line parameter.
|
||||
|
||||
##### 2. `REMOTE_HOST` [required]
|
||||
|
||||
@ -90,7 +91,7 @@ A list of ssh arguments, they must be prefixed with -o and separated by a comma,
|
||||
Use the latest version from Marketplace,eg: ssh-deploy@v5.1.0
|
||||
or use the latest version from a branch, eg: ssh-deploy@main
|
||||
|
||||
```
|
||||
```yaml
|
||||
- name: Deploy to Staging server
|
||||
uses: easingthemes/ssh-deploy@main
|
||||
with:
|
||||
@ -112,7 +113,7 @@ or use the latest version from a branch, eg: ssh-deploy@main
|
||||
|
||||
# Example usage in workflow
|
||||
|
||||
```
|
||||
```yaml
|
||||
name: Node CI
|
||||
|
||||
on: [push]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user