2021-03-17 16:16:23 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: netlify
|
|
|
|
|
|
|
|
trigger:
|
2021-03-17 16:30:24 +00:00
|
|
|
branch:
|
2021-03-17 16:16:23 +00:00
|
|
|
- master
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2021-03-17 16:27:14 +00:00
|
|
|
image: thannan/zola
|
2021-03-17 16:16:23 +00:00
|
|
|
commands:
|
|
|
|
- zola build
|
|
|
|
|
|
|
|
- name: publish
|
|
|
|
image: lucap/drone-netlify
|
|
|
|
settings:
|
2021-03-17 16:32:49 +00:00
|
|
|
token:
|
|
|
|
from_secret: netlify_token
|
2021-03-17 16:16:23 +00:00
|
|
|
site_id: 829ee496-d986-4092-9229-0f5a7a10c0fc
|
|
|
|
path: ./public
|
|
|
|
depends_on:
|
|
|
|
- build
|