Skip to content

Catchup 18: Add agent paper reproduction (#52) #274

Catchup 18: Add agent paper reproduction (#52)

Catchup 18: Add agent paper reproduction (#52) #274

Workflow file for this run

name: docs
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
workflow_dispatch:
inputs:
deploy_target:
type: choice
description: Publish docs to GitHub Pages or just build.
options:
- build-only
- gh-pages
default: build-only
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install docs dependencies
run: |
python -m pip install --upgrade pip
pip install -r docs/requirements.txt
- name: Build docs
run: |
mkdocs build
- name: Deploy to GitHub Pages
if: >
github.event_name == 'workflow_dispatch' &&
github.event.inputs.deploy_target == 'gh-pages' &&
github.ref == 'refs/heads/development'
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site
force_orphan: true