Skip to content

chore: remove deprecated cleanup scripts and batch files, streamline … #18

chore: remove deprecated cleanup scripts and batch files, streamline …

chore: remove deprecated cleanup scripts and batch files, streamline … #18

name: Deploy Documentation
on:
on:

Check failure on line 5 in .github/workflows/docs-deployment.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs-deployment.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
push:
branches:
- main
paths:
- 'docs/**'
- 'mkdocs.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material pymdown-extensions mkdocs-mermaid2-plugin
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Build documentation
run: mkdocs build --strict
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
id: deployment
uses: actions/deploy-pages@v4