fix(agents): guard the agentic loop against degenerate terminal turns #127
This file contains hidden or 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
| name: Deploy docs | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'docs/**' | |
| - 'notebooks/**' | |
| - 'CHANGELOG.md' | |
| - 'mkdocs.yml' | |
| - 'aimu/**' | |
| - '.github/workflows/docs.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: pip | |
| - uses: quarto-dev/quarto-actions/setup@v2 | |
| - name: Install dependencies | |
| run: pip install -e '.[docs,notebooks]' | |
| - name: Build the docs site | |
| run: mkdocs build | |
| - name: Render notebooks into the site (/notebooks/) | |
| # eval:false in notebooks/_quarto.yml means cells are not executed at render. | |
| run: | | |
| quarto render notebooks/ | |
| mkdir -p site/notebooks | |
| cp -r notebooks/_site/. site/notebooks/ | |
| - name: Publish to GitHub Pages | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| ghp-import --no-jekyll --force --push --message "Deploy docs + notebooks" site |