Bump the eslint group with 4 updates (#2040) #590
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 Documentation | |
on: | |
push: | |
branches: [main] | |
# Address actions/missing-workflow-permissions rule in | |
# code scanning alerts | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v5 | |
- uses: actions/setup-python@v6 | |
with: | |
cache: "pip" | |
- name: Install uv | |
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 | |
- uses: actions/cache@v4 | |
name: Define a cache for the virtual environment based on the dependencies lock file | |
with: | |
path: ./.venv | |
key: venv-dev-docs-${{ hashFiles('uv.lock') }} | |
- name: Install the project dependencies | |
run: uv sync --group docs | |
- name: Build the documentation | |
run: | | |
uv run make build-docs | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./_build # Path to your built HTML files |