drone-netlify/DOCS.md

29 lines
632 B
Markdown
Raw Permalink Normal View History

2018-02-15 20:08:23 +00:00
---
date: 2018-02-15T00:00:00+00:00
title: Netlify
2022-10-20 21:58:05 +00:00
author: internetmat
2018-02-15 20:08:23 +00:00
tags: [ deploy, netlify ]
2022-10-20 21:58:05 +00:00
repo: internetmat/drone-netlify
2018-02-15 20:08:23 +00:00
logo: netlify.svg
2022-10-20 21:58:05 +00:00
image: internetmat/drone-netlify
2018-02-15 20:08:23 +00:00
---
The netlify plugin deploy your build to [netlify.com](https://netlify.com).
2022-10-20 21:58:05 +00:00
The below pipeline configuration demonstrates the configuration for the plugin.
2018-02-15 20:08:23 +00:00
```yaml
pipeline:
netlify:
2022-10-20 21:58:05 +00:00
image: internetmat/drone-netlify
settings:
token:
from_secret: netlify_token
site:
from_secret: netlify_site_id
# override deploy alias, defaults to git SHA
alias: mybuild
path: /site/
prod: true
2018-02-15 20:08:23 +00:00
```