22 lines
404 B
YAML
22 lines
404 B
YAML
kind: pipeline
|
|
name: netlify
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
|
|
steps:
|
|
- name: build
|
|
image: thannan/zola
|
|
commands:
|
|
- zola build
|
|
|
|
- name: publish
|
|
image: lucap/drone-netlify
|
|
settings:
|
|
token:
|
|
from_secret: netlify_token
|
|
site_id: 829ee496-d986-4092-9229-0f5a7a10c0fc
|
|
path: ./public
|
|
depends_on:
|
|
- build
|