Skip to content

add mkdocs changes for github pages. #3

add mkdocs changes for github pages.

add mkdocs changes for github pages. #3

Workflow file for this run

name: Deploy MkDocs with gh-deploy
on:
push:
branches: [ "4.6.0" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch full history for gh-deploy
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
cd en
pip install -r requirements.txt
- name: Configure Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
- name: Deploy to GitHub Pages
run: |
cd en
mkdocs build --clean
touch site/.nojekyll
mkdocs gh-deploy --clean --ignore-version --message "Deploy from GitHub Actions with .nojekyll fix"