Skip to content

Fix instance color (#2434) #41

Fix instance color (#2434)

Fix instance color (#2434) #41

Workflow file for this run

name: Deploy MkDocs to GitHub Pages
on:
release:
types:
- published
push:
branches:
- develop
jobs:
docs:
name: Docs
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup UV
uses: astral-sh/setup-uv@v6
with:
python-version: "3.13"
- name: Install dependencies
run: |
uv sync --extra dev --extra nn-cpu --extra docs
- name: Print environment info
run: |
which python
uv pip list
uv pip freeze
- name: Setup Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Build and upload docs (release)
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
uv run mike deploy --update-aliases --allow-empty --push "${{ github.event.release.tag_name }}" latest
- name: Build and upload docs (dev)
if: ${{ github.event_name == 'push' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
uv run mike deploy --update-aliases --allow-empty --push dev