mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2025-06-21 03:52:11 +10:00
[init]: Add Source dir parameter
This commit is contained in:
parent
65ac047ad6
commit
544c80dc4a
3 changed files with 12 additions and 15 deletions
10
README.md
10
README.md
|
@ -1,8 +1,8 @@
|
|||
# rsync deployments
|
||||
# ssh deployments
|
||||
|
||||
This GitHub Action deploys *everything* in `GITHUB_WORKSPACE` to a folder on a server via rsync over ssh.
|
||||
This GitHub Action deploys specific directory from `GITHUB_WORKSPACE` to a folder on a server via rsync over ssh.
|
||||
|
||||
This action would usually follow a build/test action which leaves deployable code in `GITHUB_WORKSPACE`.
|
||||
This action would usually follow a build/test action which leaves deployable code in `GITHUB_WORKSPACE`, eg `dist`;
|
||||
|
||||
# Required SECRETs
|
||||
|
||||
|
@ -16,7 +16,9 @@ This action can receive three `ARG`s:
|
|||
|
||||
2. The second is for any `--exclude` flags and directory pairs, eg: `--exclude .htaccess --exclude /uploads/`. Use "" if none required.
|
||||
|
||||
3. The third is for the deployment target, and should be in the format: `[USER]@[HOST]:[PATH]`
|
||||
3. The third is for the source target, path relative to `$GITHUB_WORKSPACE` root, eg: `dist`
|
||||
|
||||
4. The fourth is for the deployment target, and should be in the format: `[USER]@[HOST]:[PATH]`
|
||||
|
||||
# Example usage
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue