test 1
continuous-integration/drone Build is passing

This commit is contained in:
2024-02-01 05:36:30 -06:00
parent 879ec5d6e4
commit a044c4983d
4 changed files with 65 additions and 0 deletions
Executable
+36
View File
@@ -0,0 +1,36 @@
kind: pipeline
type: docker
name: mkdocs
steps:
- name: build
image: python:3.12
commands:
- sh install-packages.sh
- pip install --no-cache-dir -r requirements.txt
- mkdocs build --verbose
# - name: deploy
# image: appleboy/drone-scp
# settings:
# host:
# from_secret: SITE_SSH_HOST
# username:
# from_secret: SITE_SSH_USER
# password:
# from_secret: SITE_SSH_PASS
# port:
# from_secret: SITE_SSH_PORT
# target:
# from_secret: SITE_SSH_PATH
# source:
# - ./site/
when:
branch:
- dev-publish
event:
- push
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env sh
# Update repositories
apt-get update
# Read each package name from packages.txt and install it
while read -r package; do
apt-get install -y "${package}"
done < packages.txt
# Cleanup any cached package data to reduce image size (optional)
apt-get clean
rm -rf /var/lib/apt/lists/*
Executable
+7
View File
@@ -0,0 +1,7 @@
libcairo2-dev
libfreetype6-dev
libffi-dev
libjpeg-dev
libpng-dev
libz-dev
pngquant
+9
View File
@@ -0,0 +1,9 @@
mkdocs
# mkdocs-material
mkdocs-material[imaging]
mkdocs-redirects
mkdocs-minify-plugin
# mkdocs-video
mkdocs-mermaid2-plugin
mkdocs-macros-plugin