mirror of
https://github.com/drone-plugins/drone-hugo.git
synced 2026-06-14 14:02:55 +08:00
Fixed Spelling mistake, removed comments
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# cbrgm/drone-hugo
|
||||
|
||||
[](https://github.com/cbrgm/drone-hugo/releases)   [](https://hub.docker.com/r/cbrgm/drone-hugo/tags/)
|
||||
[](https://github.com/cbrgm/drone-hugo/releases)   [](https://hub.docker.com/r/cbrgm/drone-hugo/tags/)
|
||||
|
||||
**Automatically create static web page files using Hugo within your drone pipeline!**
|
||||
|
||||
@@ -70,7 +70,7 @@ pipeline:
|
||||
hugo:
|
||||
image: cbrgm/drone-hugo:latest
|
||||
+ buildDrafts: true
|
||||
+ buildExpired: tru
|
||||
+ buildExpired: true
|
||||
+ buildFuture: true
|
||||
config: path/to/config
|
||||
content: path/to/content/
|
||||
|
||||
+4
-4
@@ -3,10 +3,10 @@
|
||||
set -e
|
||||
|
||||
# Assign default variables if not set
|
||||
PLUGIN_BUILDDRAFTS=${PLUGIN_BUILDDRAFTS:-"false"} # -D, --buildDrafts
|
||||
PLUGIN_BUILDEXPIRED=${PLUGIN_BUILDEXPIRED:-"false"} # -E, --buildExpired
|
||||
PLUGIN_BUILDFUTURE=${PLUGIN_BUILDFUTURE:-"false"} # -F, --buildFuture
|
||||
PLUGIN_CONFIG=${PLUGIN_CONFIG:-"false"} # --config string config file (default is path/config.yaml|json|toml)
|
||||
PLUGIN_BUILDDRAFTS=${PLUGIN_BUILDDRAFTS:-"false"}
|
||||
PLUGIN_BUILDEXPIRED=${PLUGIN_BUILDEXPIRED:-"false"}
|
||||
PLUGIN_BUILDFUTURE=${PLUGIN_BUILDFUTURE:-"false"}
|
||||
PLUGIN_CONFIG=${PLUGIN_CONFIG:-"false"}
|
||||
PLUGIN_CONTENT=${PLUGIN_CONTENT:-"false"}
|
||||
PLUGIN_LAYOUT=${PLUGIN_LAYOUT:-"false"}
|
||||
PLUGIN_OUTPUT=${PLUGIN_OUTPUT:-"false"}
|
||||
|
||||
Reference in New Issue
Block a user