mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-19 08:08:05 +08:00
[DOCS] Readme update
This commit is contained in:
@@ -51,9 +51,11 @@ The target directory
|
||||
|
||||
# Usage
|
||||
|
||||
!!! Please use latest version, Readme file is just an example, eg: ssh-deploy@v2.1.14
|
||||
|
||||
```
|
||||
- name: Deploy to Staging server
|
||||
uses: easingthemes/ssh-deploy@v2.0.7
|
||||
uses: easingthemes/ssh-deploy@v2.1.14
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
||||
ARGS: "-rltgoDzvO"
|
||||
@@ -86,7 +88,7 @@ jobs:
|
||||
- name: Run build task
|
||||
run: npm run build --if-present
|
||||
- name: Deploy to Server
|
||||
uses: easingthemes/ssh-deploy@v2.1.1
|
||||
uses: easingthemes/ssh-deploy@v2.1.14
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
||||
ARGS: "-rltgoDzvO --delete"
|
||||
|
Reference in New Issue
Block a user