All Projects → drone-plugins → drone-hugo

drone-plugins / drone-hugo

Licence: Apache-2.0 license
Drone plugin to publish Hugo generated websites

Programming Languages

go
31211 projects - #10 most used programming language
Jsonnet
166 projects

Projects that are alternatives of or similar to drone-hugo

drone-jenkins
Drone plugin for trigger Jenkins jobs.
Stars: ✭ 35 (+34.62%)
Mutual labels:  drone, drone-plugin
drone-facebook
Drone plugin for sending Facebook notifications
Stars: ✭ 15 (-42.31%)
Mutual labels:  drone, drone-plugin
drone-webhook
Drone plugin for triggering webhook notifications
Stars: ✭ 40 (+53.85%)
Mutual labels:  drone, drone-plugin
drone-gh-pages
Drone plugin for publishing to GitHub Pages
Stars: ✭ 14 (-46.15%)
Mutual labels:  drone, drone-plugin
drone-git-push
Drone plugin for deploying code using git push
Stars: ✭ 49 (+88.46%)
Mutual labels:  drone, drone-plugin
drone-s3
Drone plugin for publishing artifacts to Amazon S3
Stars: ✭ 30 (+15.38%)
Mutual labels:  drone, drone-plugin
drone-irc
Drone plugin for sending IRC messages
Stars: ✭ 12 (-53.85%)
Mutual labels:  drone, drone-plugin
drone-s3-cache
Caches build artifacts to S3 compatible storage backends
Stars: ✭ 27 (+3.85%)
Mutual labels:  drone, drone-plugin
drone-volume-cache
Drone plugin to cache directories within the build workspace
Stars: ✭ 15 (-42.31%)
Mutual labels:  drone, drone-plugin
drone-ansible
Drone plugin to provision via Ansible
Stars: ✭ 24 (-7.69%)
Mutual labels:  drone, drone-plugin
drone-npm
Drone plugin for publishing packages to NPM
Stars: ✭ 21 (-19.23%)
Mutual labels:  drone, drone-plugin
drone-manifest
Drone plugin to push Docker manifests
Stars: ✭ 14 (-46.15%)
Mutual labels:  drone, drone-plugin
drone-ftps
Deploy to FTPS server from Drone CI build
Stars: ✭ 18 (-30.77%)
Mutual labels:  drone, drone-plugin
hardware
PCB designs for the Waterloo Aerial Robotics Group
Stars: ✭ 42 (+61.54%)
Mutual labels:  drone
iq sim
example gazebo ardupilot simulation package
Stars: ✭ 60 (+130.77%)
Mutual labels:  drone
betafpv-f3
Board Support Crate for the BetaFPV F3 Drone Flight Controller
Stars: ✭ 37 (+42.31%)
Mutual labels:  drone
HandGesturesDroneController
Hand Gestures for Drone Control Using Deep Learning ✊ ✋ 🚁 ☝️ 🙌
Stars: ✭ 23 (-11.54%)
Mutual labels:  drone
drone-in-minikube
Run Drone inside minikube
Stars: ✭ 19 (-26.92%)
Mutual labels:  drone
iq gnc
ROS package for GNC of Ardupilot drones
Stars: ✭ 28 (+7.69%)
Mutual labels:  drone
ansible-drone
Ansible role to configure drone (server and agent)
Stars: ✭ 16 (-38.46%)
Mutual labels:  drone

drone-hugo

Build Status Gitter chat Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

Automatically create static web page files using Hugo within your Drone pipeline. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following command:

export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
export GO111MODULE=on

go build -v -a -tags netgo -o release/linux/amd64/drone-hugo

Docker

Build the Docker image with the following command:

docker build \
  --label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
  --file docker/Dockerfile.linux.amd64 --tag plugins/hugo .

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_CACHEDIR=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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].