Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MJAISE authored Oct 26, 2020
1 parent 475e192 commit 3c2790f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@

`TARGET_DIRECTORY` = The target directory or path where the data will be synced. e.g.: ~/httpdocs

**Environment Variables Location**

[https://github.com/REPOSITORY_OWNER/REPOSITORY_NAME/settings/secrets](https://github.com/REPOSITORY_OWNER/REPOSITORY_NAME/settings/secrets)

### Usage

Example usage to `/.github/workflows/*.yml` file

```
- name: Laravel Rsync Deploy
uses: SHSharkar/Laravel-Rsync-Deploy@master
uses: MJA/Laravel-Rsync-Deploy-Migrate@master
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "--ignore-times --compress --verbose --exclude=.git --exclude=.github --exclude=node_modules --no-perms --no-owner --no-group --recursive"
Expand Down Expand Up @@ -63,7 +60,7 @@ jobs:
npm install && npm run production
- name: Laravel Rsync Deploy
uses: SHSharkar/Laravel-Rsync-Deploy@master
uses: MJA/Laravel-Rsync-Deploy-Migrate@master
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "--ignore-times --compress --verbose --exclude=.git --exclude=.github --exclude=node_modules --no-perms --no-owner --no-group --recursive"
Expand Down

0 comments on commit 3c2790f

Please sign in to comment.