Skip to content

Apply these colors based on light/dark mode (#27) #35

Apply these colors based on light/dark mode (#27)

Apply these colors based on light/dark mode (#27) #35

# Ultralytics 🚀 - AGPL-3.0 License https://ultralytics.com/license
name: Publish Handbook to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black mkdocs-material mkdocs-ultralytics-plugin
- name: Deploy to GitHub Pages
run: |
git config --global user.name 'UltralyticsAssistant'
git config --global user.email '[email protected]'
git fetch origin gh-pages:gh-pages
mkdocs gh-deploy