Skip to content

Commit ac11b74

Browse files
authored
Update README.md
1 parent 2818ab4 commit ac11b74

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ This action requires six inputs:
1616

1717
2. `EXCLUDES` for any `--exclude` flags and directory pairs, eg: `--exclude .htaccess --exclude /uploads/`. Use `""` if none required.
1818

19-
3. `USER` for the deployment target, and should be in the format: `deploybot`
19+
3. `USER` for the server user, eg: `deploybot`
2020

21-
4. `HOST` for the server user, eg: `myserver.com`
21+
4. `HOST` for the deployment target, eg: `myserver.com`
2222

23-
5. `LOCALPATH` for the local path to sync, eg: `/dist`
23+
5. `LOCALPATH` for the local path to sync, eg: `/dist/`
2424

2525
5. `REMOTEPATH` for the remote path to sync, eg: `/srv/myapp/public/htdocs/`
2626

@@ -45,9 +45,8 @@ jobs:
4545
EXCLUDES: --exclude .htaccess --exclude /uploads/
4646
USER deploybot
4747
HOST: myserver.com
48-
LOCALPATH: /dist
49-
DEST: /srv/myapp/public/htdocs/
50-
env:
48+
LOCALPATH: /dist/
49+
REMOTEPATH: /srv/myapp/public/htdocs/
5150
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
5251
5352
```

0 commit comments

Comments
 (0)