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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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 the binary with the following commands:
uild
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 .
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