Skip to content

feat: support custom orchestrator repo #103

feat: support custom orchestrator repo

feat: support custom orchestrator repo #103

Workflow file for this run

name: "docs"
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
release:
types: [published]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
pages: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.14
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[docs]
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: git config
shell: bash
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "41898282+github-actions[bot]"
- name: build docs
working-directory: docs
run: |
./render_site.sh
- name: save docs
uses: actions/upload-artifact@v4
with:
name: docs-html
path: docs/_site
- name: publish docs
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
publish_branch: gh-pages