From 7cba05722134494a9cb78d90cadd142415946e93 Mon Sep 17 00:00:00 2001 From: cbrgm Date: Sat, 3 Mar 2018 12:22:55 +0100 Subject: [PATCH] Fixed Spelling mistake, removed comments --- README.md | 4 ++-- drone-hugo.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c2154ac..e7dfcdb 100644 --- a/README.md +++ b/README.md @@ -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/ diff --git a/drone-hugo.sh b/drone-hugo.sh index b753164..feb182c 100755 --- a/drone-hugo.sh +++ b/drone-hugo.sh @@ -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"}