Add mkdocs-material installation

Update docs.yml

Update docs.yml

Update docs.yml
This commit is contained in:
Slipstream 2025-06-11 17:11:01 -06:00 committed by Slipstream
parent a13cf1e4f8
commit ea33059933
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -5,12 +5,25 @@ on:
paths: paths:
- 'docs/**' - 'docs/**'
- 'mkdocs.yml' - 'mkdocs.yml'
- '.github/workflows/docs.yml'
branches: branches:
- master - master
workflow_dispatch:
inputs:
environment:
description: 'Target environment'
required: true
default: 'production'
debug:
description: 'Enable debug mode'
required: false
default: 'false'
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- name: Checkout source - name: Checkout source
@ -23,9 +36,15 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install mkdocs pip install mkdocs mkdocs-material
- name: Configure Git author from GitHub Actions metadata
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
- name: Deploy docs - name: Deploy docs
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mkdocs gh-deploy --force --clean run: mkdocs gh-deploy --force --clean