Repository navigation
[prek] autoupdate hooks (#234) #261
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: docs | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| docs: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| cache-python: true | |
| - name: Install docs dependencies | |
| run: uv sync --group docs | |
| - name: Configure git | |
| run: | | |
| git config --local user.name "GitHub Actions Bot" | |
| git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| - name: Deploy docs for main:latest to gh-pages branch | |
| run: uv run mike deploy --push --update-aliases main |