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.
 
 
 
 
 
Syfaro 6fe3c8c504 Export Netlify config. 3 weeks ago
.drone.yml Fix Docker issue. 3 weeks ago
DOCS.md sources 2 years ago
Dockerfile Fix Docker issue. 3 weeks ago
LICENSE sources 2 years ago
README.md chore(readme): baseline 2 years ago
netlify.png sources 2 years ago
netlify.svg sources 2 years ago
script.sh Export Netlify config. 3 weeks ago

README.md

Drone-netlify

Netlify logo

Deploying to Netlify with Drone CI.

Docker Pulls Image GitHub release

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=xxxxx \
  -e PLUGIN_SITE_ID=xxxxxxx-xxxx-xxx-xxxxxxxx \
  -e PLUGIN_SITE_NAME=netlify-subdomain
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  lucap/drone-netlify

From Drone CI

pipeline:
  netlify:
    image: lucap/drone-netlify
    token: xxxxx
    site_id: xxxxxxx-xxxx-xxx-xxxxxxxx
    site_name: netlify-subdomain