Skip to content

Update mkdocsDeploy.yml #9

Update mkdocsDeploy.yml

Update mkdocsDeploy.yml #9

Workflow file for this run

name: Deploy MkDocs to GitHub Pages
on:
push:
branches:
- main # Adjust if your primary branch differs
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material # Add other dependencies as needed
- name: Build MkDocs Site
run: mkdocs build # This compiles your site to the ./site directory
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site