Added mkdocs-material-netlify-build.

This commit is contained in:
moonstar-x 2021-08-10 20:52:28 -05:00
parent 1f7ed6c65d
commit 685b9be1f3

View File

@ -0,0 +1,22 @@
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