Add cacheDir option
This enables setting a custom cache directory for Hugo. Some caching plugins (e.g. http://plugins.drone.io/drillster/drone-volume-cache/) require the directories to be cached to be located inside the workspace.
This commit is contained in:
parent
7061cf1f1d
commit
894c1270cb
3 changed files with 6 additions and 0 deletions
|
|
@ -133,6 +133,7 @@ docker run --rm \
|
|||
-e PLUGIN_BUILDDRAFTS=false \
|
||||
-e PLUGIN_BUILDEXPIRED=false \
|
||||
-e PLUGIN_BUILDFUTURE=false \
|
||||
-e PLUGIN_CACHEDIR=false \
|
||||
-e PLUGIN_CONFIG=false \
|
||||
-e PLUGIN_CONTENT=false \
|
||||
-e PLUGIN_LAYOUT=false \
|
||||
|
|
@ -152,6 +153,7 @@ docker run --rm \
|
|||
`buildDrafts` - include content marked as draft<br>
|
||||
`buildExpired` - include expired content<br>
|
||||
`buildFuture` - include content with publishdate in the future<br>
|
||||
`cacheDir` - change cache directory (useful when using caching plugins)
|
||||
`config` - config file (default is path/config.yaml|json|toml)<br>
|
||||
`content` - filesystem path to content directory<br>
|
||||
`layout` - filesystem path to layout directory<br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue