v1.2.2 #10
Workflow file for this run
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 to GitHub pages | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: ./.github/workflows/install-uv | |
| - name: Install dependencies | |
| run: uv sync --locked --group docs | |
| - name: Setup git | |
| run: | | |
| git config --global user.name "Mike Deploy Bot" | |
| git config --global user.email "mike.deploy@email.com" | |
| - name: Build and deploy a new version with mike | |
| run: uv run mike deploy --push --update-aliases $(uv version --short) latest |