Merge pull request #1 from linuxserver/pages

This commit is contained in:
Roxedus 2025-10-09 22:26:57 +02:00 committed by GitHub
commit e0fc1c36cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,6 +59,7 @@ jobs:
needs: build
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5.0.0
@ -100,5 +101,22 @@ jobs:
run: pip install -r docs/requirements.txt
- name: Generate images-by-category.md
run: python scripts/generate-images-by-category.py
- name: Build documentation
run: mkdocs build
- name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: site/
pages:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: deploy
steps:
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
id: deployment
uses: actions/deploy-pages@v4