This repository has been archived on 2023-06-11. You can view files and clone it, but cannot push or open issues or pull requests.
blog.lazkani.io-20200902-hi.../.drone.yml

25 lines
393 B
YAML
Raw Normal View History

2020-02-08 00:43:51 +00:00
---
kind: pipeline
type: docker
name: Deploy
steps:
- name: build
2020-08-31 20:53:00 +00:00
image: nikola:20200831
2020-02-08 00:43:51 +00:00
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/*
volumes:
- name: blog-path
host:
path: /mnt/blog/