Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

kameshsampath/drone-mkdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone MkDocs Site Plugin

A Drone plugin to build site using MkDocs.

The plugin installs the following extension modules

Usage

The following settings changes this plugin's behavior.

  • python_modules (optional) An array of Python modules install.

Create a .drone.yml as shown below and then run the command drone exec --trusted

kind: pipeline
type: docker
name: default

steps:

- name: build site
  image: docker.io/kameshsampath/drone-mkdocs-site:v0.0.1
  pull: if-not-exists
  volumes:
    - name: site-dir
      path: /build

volumes:
  - name: site-dir
    temp: {}

Please check the examples folder for .drone.yml with other settings.

The site will be built in a directory /build/site, which could be mounted to other volumes/directories or built pushed as site image.

Building

Run the following command to build and push the image manually

make release