-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from rohanpm/README-strip
README: document strip option
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,9 +107,21 @@ environments: | |
# Defining a prefix like this enables overriding publishes to existing non-exodus | ||
# targets and diverting them instead to exodus CDN, as in example: | ||
# | ||
# rsync /my/src/tree [email protected]:/my/dest | ||
# rsync /my/src/tree [email protected]:/root/my/dest | ||
# => publishes to "/my/dest" on exodus | ||
# | ||
- prefix: [email protected] | ||
- prefix: [email protected]:/root | ||
|
||
# By default, the path used in "prefix" will be stripped from the exodus | ||
# destination, meaning that the root directory of the prefix is equivalent to | ||
# the root path on exodus. This can be customized via "strip", as in example: | ||
# | ||
# rsync /src [email protected]:/1234/content/foo/bar | ||
# => publishes to "/content" on exodus when using the below | ||
# value for strip | ||
# | ||
- prefix: [email protected]:/1234/content | ||
strip: [email protected]:/1234 | ||
|
||
# All top-level configuration keys can also be overridden per environment; | ||
# for example, to use a different exodus-gw service & environment: | ||
|