All Projects → drone-plugins → drone-gh-pages

drone-plugins / drone-gh-pages

Licence: Apache-2.0 license
Drone plugin for publishing to GitHub Pages

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to drone-gh-pages

drone-git-push
Drone plugin for deploying code using git push
Stars: ✭ 49 (+250%)
Mutual labels:  drone, drone-plugin
drone-ftps
Deploy to FTPS server from Drone CI build
Stars: ✭ 18 (+28.57%)
Mutual labels:  drone, drone-plugin
drone-facebook
Drone plugin for sending Facebook notifications
Stars: ✭ 15 (+7.14%)
Mutual labels:  drone, drone-plugin
drone-jenkins
Drone plugin for trigger Jenkins jobs.
Stars: ✭ 35 (+150%)
Mutual labels:  drone, drone-plugin
drone-ansible
Drone plugin to provision via Ansible
Stars: ✭ 24 (+71.43%)
Mutual labels:  drone, drone-plugin
drone-hugo
Drone plugin to publish Hugo generated websites
Stars: ✭ 26 (+85.71%)
Mutual labels:  drone, drone-plugin
drone-npm
Drone plugin for publishing packages to NPM
Stars: ✭ 21 (+50%)
Mutual labels:  drone, drone-plugin
drone-webhook
Drone plugin for triggering webhook notifications
Stars: ✭ 40 (+185.71%)
Mutual labels:  drone, drone-plugin
drone-s3-cache
Caches build artifacts to S3 compatible storage backends
Stars: ✭ 27 (+92.86%)
Mutual labels:  drone, drone-plugin
drone-irc
Drone plugin for sending IRC messages
Stars: ✭ 12 (-14.29%)
Mutual labels:  drone, drone-plugin
drone-manifest
Drone plugin to push Docker manifests
Stars: ✭ 14 (+0%)
Mutual labels:  drone, drone-plugin
drone-volume-cache
Drone plugin to cache directories within the build workspace
Stars: ✭ 15 (+7.14%)
Mutual labels:  drone, drone-plugin
drone-s3
Drone plugin for publishing artifacts to Amazon S3
Stars: ✭ 30 (+114.29%)
Mutual labels:  drone, drone-plugin
drone-discord
Drone plugin for sending message to Discord channel using Webhook
Stars: ✭ 34 (+142.86%)
Mutual labels:  drone-plugin
elfie
Flight control for Eachine E10/JJRC H37 "Selfie" drone
Stars: ✭ 18 (+28.57%)
Mutual labels:  drone
FreeTAKUAS
DJI drone flying app with integrations for FreeTAKServer
Stars: ✭ 41 (+192.86%)
Mutual labels:  drone
goliath-quadcopter
Design files for the Goliath Quadcopter
Stars: ✭ 25 (+78.57%)
Mutual labels:  drone
drone-in-minikube
Run Drone inside minikube
Stars: ✭ 19 (+35.71%)
Mutual labels:  drone
OpenMAS
OpenMAS is an open source multi-agent simulator based in Matlab for the simulation of decentralized intelligent systems defined by arbitrary behaviours and dynamics.
Stars: ✭ 80 (+471.43%)
Mutual labels:  drone
beboptwo4g
4G/LTE softmod for the Parrot Bebop 2
Stars: ✭ 50 (+257.14%)
Mutual labels:  drone

drone-gh-pages

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

Drone plugin for publishing static website to GitHub Pages. 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-gh-pages

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/gh-pages .

Usage

PLUGIN_NETRC_MACHINE is optional, default value is "github.com".

docker run --rm \
  -e PLUGIN_USERNAME="octocat" \
  -e PLUGIN_PASSWORD="p455w0rd" \
  -e PLUGIN_PAGES_DIRECTORY="docs" \
  -e PLUGIN_NETRC_MACHINE="github.com" \
  -e DRONE_COMMIT_AUTHOR="Drone" \
  -e DRONE_COMMIT_AUTHOR_EMAIL="[email protected]" \
  -e DRONE_REMOTE_URL="https://github.com/drone-plugins/drone-docker.git" \
  -e DRONE_WORKSPACE="$(pwd)" \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  plugins/gh-pages
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].