Fixed Spelling mistake, removed comments

This commit is contained in:
cbrgm 2018-03-03 12:22:55 +01:00
commit 7cba057221
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# cbrgm/drone-hugo
[![GitHub release](https://img.shields.io/github/release/cbrgm/drone-hugo.svg)](https://github.com/cbrgm/drone-hugo/releases) ![](https://img.shields.io/badge/hugo%20version-3.7-ff69b4.svg) ![MicroBadger Size (tag)](https://img.shields.io/microbadger/image-size/cbrgm/drone-hugo/3.7.svg) [![Docker Pulls](https://img.shields.io/docker/pulls/cbrgm/drone-hugo.svg)](https://hub.docker.com/r/cbrgm/drone-hugo/tags/)
[![GitHub release](https://img.shields.io/github/release/cbrgm/drone-hugo.svg)](https://github.com/cbrgm/drone-hugo/releases) ![](https://img.shields.io/badge/hugo%20version-v0.37-ff69b4.svg) ![MicroBadger Size (tag)](https://img.shields.io/microbadger/image-size/cbrgm/drone-hugo/3.7.svg) [![Docker Pulls](https://img.shields.io/docker/pulls/cbrgm/drone-hugo.svg)](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/

View file

@ -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"}