diff --git a/.drone.yml b/.drone.yml index 2be65ab..34ca6c3 100755 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file + - name: site + host: + path: /opt/appdata/mkdocswiki/docs \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 029b2ab..0000000 --- a/Dockerfile +++ /dev/null @@ -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 \ No newline at end of file