From 373365d1d20c5e097835f200eea14eab600b20b9 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Fri, 25 Oct 2024 10:45:56 +0400 Subject: [PATCH] ci: Fixed mkdocs. --- .github/workflows/mkdocs.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 5e100834..da5fd593 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -33,14 +33,15 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v5 - - name: Install dependencies - run: pip install mkdocs-material - - name: Generate docs run: dotnet run --project src/helpers/GenerateDocs/GenerateDocs.csproj . - name: Build with MkDocs - run: mkdocs build -d ./_site + run: | + python -m venv myenv + source myenv/bin/activate + pip install mkdocs-material + mkdocs build -d ./_site - name: Upload artifact uses: actions/upload-pages-artifact@v3