[docs] Update readme

main
Dragan Filipovic 2020-04-11 23:08:36 +02:00
parent 101b6c13a0
commit 54f2361d27
1 changed files with 3 additions and 2 deletions

View File

@ -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"