Update deploy-mkdocs.yml

This commit is contained in:
Lost Paul 2025-02-18 19:00:20 +01:00 committed by GitHub
parent d83e9ef60e
commit c836ce9a45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,18 +10,20 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
python-version: '3.x'
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install mkdocs-video
- run: pip install pillow cairosvg
key: mkdocs-${{ runner.os }}-${{ github.sha }}
restore-keys: |
mkdocs-${{ runner.os }}-
- run: pip install mkdocs-material mkdocs-video pillow cairosvg
- working-directory: ./docs
run: mkdocs gh-deploy --force