eliminated mkdocs-exporter, added build-pipeline for gitea
Some checks failed
ci / deploy (push) Failing after 1m2s

This commit is contained in:
Stephan Hadan 2025-01-06 13:41:10 +01:00
parent 8d5b969fbc
commit 64afe0e348
No known key found for this signature in database
GPG key ID: 3B6DCF2F5096A1A3
3 changed files with 13 additions and 24 deletions

View file

@ -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 }}