Skip to content

Merge pull request #91 from roboflow/pre-commit-ci-update-config #19

Merge pull request #91 from roboflow/pre-commit-ci-update-config

Merge pull request #91 from roboflow/pre-commit-ci-update-config #19

name: Maestro Develop Documentation Workflow 📚
on:
push:
branches:
- develop
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref}}
cancel-in-progress: true
permissions:
contents: write
pages: write
pull-requests: write
jobs:
maestro-dev-docs:
runs-on: ubuntu-latest
steps:
- name: 🔄 Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: 📦 Install Packages
run: pip install "mkdocs-material" "mkdocstrings[python]" "mkdocs-material[imaging]" mike
- name: ⚙️ Configure git for github-actions
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: 🚀 Deploy MkDoc-Material with mike
run: |
MKDOCS_GIT_COMMITTERS_APIKEY=${{ secrets.GITHUB_TOKEN }} mike deploy --push develop