Update mkdocs_github_authors.yaml (#24) #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |