Skip to content

Build and Deploy Documentation #7

Build and Deploy Documentation

Build and Deploy Documentation #7

Workflow file for this run

name: Build and Deploy Documentation
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Updated to v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x' # More flexible Python version
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material pymdown-extensions
- name: Build and Deploy
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
mkdocs gh-deploy --force