add cacheDir flag (#11)

golang version of #7 

-----
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:
techknowlogick 2018-10-29 03:45:36 -04:00 committed by Bo-Yi Wu
commit 9aee76b213
3 changed files with 11 additions and 0 deletions

View file

@ -26,6 +26,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 \