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