Skip to content

Merge pull request #4 from faneX-ID/dependabot/github_actions/actions… #6

Merge pull request #4 from faneX-ID/dependabot/github_actions/actions…

Merge pull request #4 from faneX-ID/dependabot/github_actions/actions… #6

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
- master
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
name: Build & Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0 # Needed for git-revision-date-localized-plugin
- name: Configure Git credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build documentation
run: mkdocs build --strict
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force