Skip to content

fix(docs): add imports in doc (#364) #80

fix(docs): add imports in doc (#364)

fix(docs): add imports in doc (#364) #80

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
push:
branches:
- main
- feat/docs
paths:
- 'docs/**'
- '.github/workflows/deploy-docs.yaml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
cd docs
pip install -r requirements.txt
- name: Build MkDocs site
run: |
cd docs
mkdocs build
- name: Upload artifact for GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: docs/site/
- name: Deploy to GitHub Pages
id: deploy
uses: actions/deploy-pages@v4