Deploying to Netlify with Drone CI
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
mat ess c5513a13c3 Revert "Remove --site option" 11 hours ago
.drone.yml Add force_tag 2 months ago
DOCS.md Updates 2 months ago
Dockerfile Updates 2 months ago
LICENSE sources 5 years ago
README.md Fix script 2 months ago
manifest.tmpl Support only amd64 for now 2 months ago
netlify.png sources 5 years ago
netlify.svg sources 5 years ago
script.sh Revert "Remove --site option" 11 hours ago

README.md

drone-netlify

Netlify logo

Deploying to Netlify with Drone CI.

Docker Pulls

Use case examples:

  • Automatically create staging deployments for pull requests
  • Automatically deploy and alias upon pushes to master

Usage

For the usage information and a listing of the available options please take a look at the docs.

There are two ways to deploy.

From docker

Deploy the working directory to Netlify.

docker run --rm \
  -e PLUGIN_TOKEN=$NETLIFY_TOKEN \
  -e PLUGIN_SITE=my-netlify-site \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  internetmat/drone-netlify

From Drone CI

pipeline:
  netlify:
    image: internetmat/drone-netlify
    settings:
      token:
        from_secret: netlify_token
      site:
        from_secret: netlify_site_id