mirror of
https://github.com/easingthemes/ssh-deploy
synced 2025-01-15 12:20:58 +00:00
[docs] Update readme
This commit is contained in:
parent
101b6c13a0
commit
54f2361d27
@ -15,7 +15,8 @@ Pass configuration with `env` vars
|
|||||||
1. `SSH_PRIVATE_KEY` [required]
|
1. `SSH_PRIVATE_KEY` [required]
|
||||||
|
|
||||||
This should be the private key part of an ssh key pair.
|
This should be the private key part of an ssh key pair.
|
||||||
The public key part should be added to the authorized_keys file on the server that receives the deployment.
|
The public key part should be added to the `authorized_keys` file on the server that receives the deployment.
|
||||||
|
|
||||||
The keys should be generated using the PEM format. You can us this command
|
The keys should be generated using the PEM format. You can us this command
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -83,7 +84,7 @@ jobs:
|
|||||||
- name: Run build task
|
- name: Run build task
|
||||||
run: npm run build --if-present
|
run: npm run build --if-present
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
uses: easingthemes/ssh-deploy@v2.0.7
|
uses: easingthemes/ssh-deploy@2.1.1
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
||||||
ARGS: "-rltgoDzvO --delete"
|
ARGS: "-rltgoDzvO --delete"
|
||||||
|
Loading…
Reference in New Issue
Block a user