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.
Build the plugin binary:
scripts/build.sh
Build the plugin image:
docker build -f docker/Dockerfile -t plugins/netlify .
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