drone-plugins/drone-gh-pages

Name: drone-gh-pages

Owner: drone-plugins

Description: Drone plugin for publishing to GitHub Pages

Created: 2016-04-13 00:49:29.0

Updated: 2018-05-04 19:36:32.0

Pushed: 2018-05-04 19:40:12.0

Homepage: null

Size: 741

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

drone-gh-pages

Build Status 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 commands:

uild
Docker

Build the Docker image with the following commands:

=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-gh-pages
er build --rm -t plugins/gh-pages .
Usage
er run --rm \
 PLUGIN_USERNAME="octocat" \
 PLUGIN_PASSWORD="p455w0rd" \
 PLUGIN_PAGES_DIRECTORY="docs" \
 DRONE_COMMIT_AUTHOR="Drone" \
 DRONE_COMMIT_AUTHOR_EMAIL="drone@example.com" \
 DRONE_REMOTE_URL="https://github.com/drone-plugins/drone-docker.git" \
 DRONE_WORKSPACE="$(pwd)" \
 $(pwd):$(pwd) \
 $(pwd) \
ugins/gh-pages

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.