10th try adding pdf-export
All checks were successful
Deploy MkDocs / deploy (push) Successful in 1m37s

This commit is contained in:
Thomas Berker 2025-01-15 16:23:49 +01:00
parent 1ec156df8f
commit 365a77de9d

View file

@ -14,9 +14,10 @@ jobs:
- name: Install mkdocs and rsync - name: Install mkdocs and rsync
run: | run: |
apt update apt update
apt install -y mkdocs mkdocs-bootstrap mkdocs-nature mkdocs-material mkdocs-autorefs rsync weasyprint python3.11-venv apt install -y rsync weasyprint python3.11-venv
python3 -m venv my-venv python3 -m venv my-venv
. my-venv/bin/activate . my-venv/bin/activate
pip install mkdocs mkdocs-bootstrap mkdocs-nature mkdocs-material mkdocs-autorefs
pip install mkdocs-with-pdf pip install mkdocs-with-pdf
- name: Install SSH key - name: Install SSH key
uses: https://github.com/shimataro/ssh-key-action@v2 uses: https://github.com/shimataro/ssh-key-action@v2
@ -24,12 +25,13 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }} key: ${{ secrets.SSH_PRIVATE_KEY }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Build site - name: Build site
run: mkdocs build run: |
. my-venv/bin/activate
mkdocs build
- name: Sync - name: Sync
run: rsync -rv --no-o --no-g --no-perms site/ berker@192.168.1.2:/home/berker/nginxproxymanager/data/site run: rsync -rv --no-o --no-g --no-perms site/ berker@192.168.1.2:/home/berker/nginxproxymanager/data/site
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: many-artifacts name: many-artifacts
path: site/ path: site/