From 2323dfae7692a7a981ea4b9459efeb0e19ee079a Mon Sep 17 00:00:00 2001 From: sthope Date: Sun, 5 May 2024 21:46:35 +0200 Subject: [PATCH] Initial commit --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..9ae9da0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,22 @@ +--- +kind: pipeline +type: docker +name: build + +steps: +- name: build + image: squidfunk/mkdocs-material:7.1.9 + volumes: + - name: site + path: /site + commands: + - /usr/local/bin/python -m pip install --upgrade pip + - pip install -U -r ./requirements.txt + - mkdocs build + - cp -r site/ /site + - chmod -R 777 /site + +volumes: +- name: site + host: + path: /home/sthope/docker/wiki \ No newline at end of file