Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 643 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 643 Bytes

Drone plugin for deploying static websites to Netlify. This plugin is used to publish all static websites for the Drone project, including the official documentation.

Building

Build the plugin binary:

scripts/build.sh

Build the plugin image:

docker build -f docker/Dockerfile -t plugins/netlify .

Testing

Execute the plugin from your current working directory:

docker run --rm \
  -e PLUGIN_SITE=3970e0fe-8564-4903-9a55-c5f8de49fb8b \
  -e PLUGIN_PATH=./public \
  -e PLUGIN_TOKEN=your_oauth2_access_token \
  -e PLUGIN_DEBUG=true \
  -w /drone/src \
  -v $(pwd):/drone/src \
  plugins/netlify