From 60e0f727ab5b364e9b42f0e28a6d9a63224f6f28 Mon Sep 17 00:00:00 2001 From: AEnterprise Date: Sat, 28 Dec 2019 10:21:10 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d35c5b9..6b35d70 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ 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 @@ -10,8 +10,10 @@ example usage: 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