Skip to content

Commit

Permalink
Merge pull request #132 from rohanpm/README-strip
Browse files Browse the repository at this point in the history
README: document strip option
  • Loading branch information
negillett authored Nov 24, 2021
2 parents 78f6a0b + 876c56c commit b84fced
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b84fced

Please sign in to comment.