Skip to content

Fix CI workflow to install mkdocs-material theme #2

Fix CI workflow to install mkdocs-material theme

Fix CI workflow to install mkdocs-material theme #2

Workflow file for this run

name: Build and Deploy MkDocs Site
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material
- name: Build the site
run: mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_branch: gh-pages
folder: site