update
continuous-integration/drone/push Build is passing Details

feature
thest1tch 2 years ago
parent 75318b6c01
commit 9c2a11c1e6

@ -3,25 +3,20 @@ kind: pipeline
type: docker
name: build-home-docs
platform:
os: linux
arch: arm64
steps:
- name: build-docs
image: squidfunk/mkdocs-material:9.1.15
pull: if-not-exists
volumes:
- name: site
path: /site
commands:
- pip install -U -r ./requirements.txt
- mkdocs build
when:
event: push
branch: master
- name: build-docs
image: squidfunk/mkdocs-material:9.1.15
pull: if-not-exists
volumes:
- name: site
path: /site
commands:
- pip install -U -r ./requirements.txt
- mkdocs build
when:
event: push
branch: master
volumes:
- name: site
host:
path: /opt/appdata/mkdocswiki/docs
- name: site
host:
path: /opt/appdata/mkdocswiki/docs

@ -1,20 +0,0 @@
ARG FROM_SOURCE=squidfunk/mkdocs-material
FROM ${FROM_SOURCE}
RUN apk add --no-cache py3-pip py3-pillow py3-cffi py3-brotli gcc musl-dev python3-dev pango build-base libffi-dev jpeg-dev libxslt-dev pngquant py3-cairosvg
RUN pip install \
beautifulsoup4==4.9.3 \
mkdocs-autolinks-plugin \
mkdocs-htmlproofer-plugin \
mkdocs-git-revision-date-localized-plugin \
mkdocs-macros-plugin \
mkdocs-git-committers-plugin-2 \
mkdocs-meta-descriptions-plugin \
mkdocs-with-pdf \
mkdocs-extra-sass-plugin \
mkdocs-rss-plugin \
qrcode \
livereload
RUN git config --global --add safe.directory /docs
Loading…
Cancel
Save