Skip to content

Refactor code structure for improved readability and maintainability #7

Refactor code structure for improved readability and maintainability

Refactor code structure for improved readability and maintainability #7

Workflow file for this run

name: Deploy MkDocs
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install mkdocs-material
pip install mkdocs-glightbox
pip install mkdocs-minify-plugin
- name: Build site
run: mkdocs build
- uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment