Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AEnterprise authored Dec 28, 2019
1 parent 0c7c5cb commit 60e0f72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

Deploy to a remote server using rsync.

example usage:
example usage to sync everything in the workspace folder:
```
- name: deploy to server
uses: AEnterprise/rsync-deploy@v1.0
env:
DEPLOY_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: "-e -c -r --delete"
SERVER_PORT: ${{ secrets.SERVER_PORT }}
FOLDER: "build"
FOLDER: "./"
SERVER_IP: ${{ secrets.SERVER_IP }}
USERNAME: ${{ secrets.USERNAME }}
SERVER_DESTINATION: ${{ secrets.SERVER_DESTINATION }}
```

If you only want to sync a specific subfolder you can put that folder in the folder env var instead

0 comments on commit 60e0f72

Please sign in to comment.