Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

tklk-archives/drone-netlify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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=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: techknowlogick/drone-netlify
    token: xxxxx
    site_id: xxxxxxx-xxxx-xxx-xxxxxxxx
    site_name: netlify-subdomain

Packages

No packages published

Languages

  • Shell 84.8%
  • Dockerfile 15.2%