Added mkdocs-material-netlify-build.
This commit is contained in:
parent
1f7ed6c65d
commit
685b9be1f3
22
mkdocs/mkdocs-material-netlify-build.yml
Normal file
22
mkdocs/mkdocs-material-netlify-build.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user