Updated fork of drone-plugin
Go to file
cbrgm 1ec3bbb482 Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
cmd/drone-hugo Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
download Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
.drone.sh Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
.gitignore Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
DOCS.md Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
Dockerfile Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
Dockerfile.arm Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
Dockerfile.arm64 Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
Dockerfile.i386 Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
Gopkg.lock Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
Gopkg.toml Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
LICENSE Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
Makefile Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
README.md Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
plugin.go Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00
plugin_test.go Go implementation of the original bash plugin, containing all features 2018-06-12 18:41:04 +02:00

README.md

drone-hugo

Automatically create static web page files using hugo within your drone pipeline!

Build

Build the binaries with the following commands:

make build

Docker

Build the Docker image with the following commands:

make [amd64,arm64,amd] hugo=0.00.0

Usage

docker run --rm \
  -e PLUGIN_HUGO_VERSION=0.00.0 \
  -e PLUGIN_BUILDDRAFTS=false \
  -e PLUGIN_BUILDEXPIRED=false \
  -e PLUGIN_BUILDFUTURE=false \
  -e PLUGIN_CONFIG=false \
  -e PLUGIN_CONTENT=false \
  -e PLUGIN_LAYOUT=false \
  -e PLUGIN_OUTPUT=false \
  -e PLUGIN_SOURCE=false \
  -e PLUGIN_THEME=false \
  -e PLUGIN_OUTPUT=false \
  -e PLUGIN_VALIDATE=false \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  plugins/hugo:latest