main pull request #6
3 changed files with 13 additions and 24 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -27,10 +27,18 @@ jobs:
|
|||
path: .cache
|
||||
restore-keys: |
|
||||
mkdocs-material-
|
||||
- run: sudo apt-get install pngquant
|
||||
- run: apt-get update && apt-get install pngquant rsync
|
||||
- run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
|
||||
- run: pip install -r requirements.txt
|
||||
- run: playwright install chromium --with-deps
|
||||
- run: mkdocs gh-deploy --force
|
||||
- run: mkdocs build
|
||||
- name: Create private key
|
||||
run: |
|
||||
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key
|
||||
chmod 600 /tmp/act_runner_key
|
||||
- name: rsync public directory
|
||||
run: |
|
||||
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/site/* root@vps03.hadan-it.com:/opt/npm/webspace/stephan.hadan.de/
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
|
24
mkdocs.yml
24
mkdocs.yml
|
@ -26,8 +26,8 @@ site_description: >-
|
|||
💻 OSS enthusiast | 🔧 Mac & beyond sysadmin | 🤖 AI practitioner | 🆔 Zero Trust advocate | 🚀 Open Source > proprietary | Always exploring tech’s edge!
|
||||
|
||||
# Repository
|
||||
repo_url: https://github.com/stiebke/stiebke.github.io
|
||||
repo_name: stiebke/stiebke.github.io
|
||||
repo_url: https://git.hadan-it.com/web/stephan.hadan.de
|
||||
repo_name: web/stephan.hadan.de
|
||||
|
||||
# Copyright
|
||||
copyright: Copyright © 2024-2025 Stephan Hadan
|
||||
|
@ -103,26 +103,8 @@ plugins:
|
|||
enable_creation_date: true
|
||||
- git-committers:
|
||||
enabled: !ENV [CI, false]
|
||||
repository: stiebke/stiebke.github.io
|
||||
repository: web/stephan.hadan.de
|
||||
branch: main
|
||||
- exporter:
|
||||
formats:
|
||||
pdf:
|
||||
enabled: !ENV [MKDOCS_EXPORTER_PDF_ENABLED, true]
|
||||
stylesheets:
|
||||
- resources/stylesheets/pdf.scss
|
||||
covers:
|
||||
front: resources/templates/covers/front.html.j2
|
||||
back: resources/templates/covers/back.html.j2
|
||||
aggregator:
|
||||
enabled: !ENV [MKDOCS_EXPORTER_PDF_AGGREGATOR, false]
|
||||
output: documentation.pdf
|
||||
covers: front
|
||||
buttons:
|
||||
- title: Download as PDF
|
||||
icon: material-file-download-outline
|
||||
enabled: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.enabled
|
||||
attributes: !!python/name:mkdocs_exporter.formats.pdf.buttons.download.attributes
|
||||
- rss:
|
||||
enabled: !ENV [CI, false]
|
||||
match_path: blog/posts/.*
|
||||
|
|
|
@ -29,7 +29,6 @@ pymdown-extensions~=10.2
|
|||
mkdocs-material[imaging]
|
||||
|
||||
# Plugins
|
||||
mkdocs-exporter~=6.2.0
|
||||
mkdocs-git-revision-date-localized-plugin~=1.3.0
|
||||
mkdocs-git-committers-plugin-2~=2.4.1
|
||||
mkdocs-glightbox~=0.4.0
|
||||
|
|
Loading…
Add table
Reference in a new issue