Skip to content

Disable Jekyll processing for GitHub Pages deployment #4

Disable Jekyll processing for GitHub Pages deployment

Disable Jekyll processing for GitHub Pages deployment #4

Workflow file for this run

name: Build and Deploy Documentation
on:
push:
branches:
- master
- main
paths:
- 'README.md'
- '*/README.md'
- 'mkdocs.yml'
- 'docs/**'
- '.github/workflows/deploy-docs.yml'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install mkdocs mkdocs-material mkdocs-include-markdown-plugin
- name: Build documentation
run: |
mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
enable_jekyll: false