23 lines
383 B
YAML
23 lines
383 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: Build and Publish to Netlify
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- master
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: squidfunk/mkdocs-material
|
||
|
commands:
|
||
|
- mkdocs build --clean
|
||
|
|
||
|
- name: publish
|
||
|
image: lucap/drone-netlify
|
||
|
settings:
|
||
|
site_id:
|
||
|
from_secret: NETLIFY_SITE_ID
|
||
|
token:
|
||
|
from_secret: NETLIFY_TOKEN
|
||
|
path: ./site
|