From 0f07eb1c03ef02725bf6817e07345bbc122de126 Mon Sep 17 00:00:00 2001 From: Ryan Dick Date: Sat, 30 Dec 2023 14:25:36 -0500 Subject: [PATCH] Install invoke-training in doc deployment github action. --- .github/workflows/deploy.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 415f7fb2..0813218d 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -19,7 +19,13 @@ jobs: git config user.email 41898282+github-actions[bot]@users.noreply.github.com - uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: "3.10" + cache: pip + cache-dependency-path: pyproject.toml + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install .[test] - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - uses: actions/cache@v3 with: @@ -27,5 +33,4 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: pip install mkdocs-material mkdocstrings[python] - run: mkdocs gh-deploy --force