chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v1.18.… #265
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: Pages | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| - beta | |
| - alpha | |
| - '*.x' | |
| release: | |
| types: | |
| - published | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 3 | |
| jobs: | |
| pages: | |
| name: Deploy to GitHub Pages | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| ref: ${{ github.head_ref }} | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/vcpkg | |
| ~/.cache/pip | |
| ~/.cache/vcpkg | |
| key: cd-pages-${{ hashFiles('vcpkg.json') }} | |
| restore-keys: cd-pages-${{ hashFiles('vcpkg.json') }} | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.x | |
| - name: Build Docs | |
| run: pipx run nox -s docs | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/_build/html |