Skip to content

Merge pull request #14 from project-codeguard/feature/updating-index-… #2

Merge pull request #14 from project-codeguard/feature/updating-index-…

Merge pull request #14 from project-codeguard/feature/updating-index-… #2

Workflow file for this run

---
name: Deploy Documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'mkdocs.yml'
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: uv sync
- name: Configure Git
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Deploy to GitHub Pages
run: uv run mkdocs gh-deploy --force --clean --verbose