---
kind: pipeline
type: docker
name: Deploy
steps:
- name: build
image: nikola:20200217
volumes:
- name: blog-path
path: /drone/src/output/
environment:
UID:
from_secret: uid
GID:
from_secret: gid
commands:
- nikola build
- chown -R "$UID":"$GID" output/*
host:
path: /mnt/blog/