Skip to content

Commit 7559ea3

Browse files
committed
ci: Fixed mkdocs.yml
1 parent 3071ee5 commit 7559ea3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/mkdocs.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ jobs:
3232
- name: Setup Pages
3333
uses: actions/configure-pages@v5
3434

35-
- name: Install dependencies
36-
run: pip install mkdocs-material
37-
3835
- name: Generate docs
3936
run: dotnet run --project src/helpers/GenerateDocs/GenerateDocs.csproj .
4037

4138
- name: Build with MkDocs
42-
run: mkdocs build -d ./_site
39+
run: |
40+
python -m venv myenv
41+
source myenv/bin/activate
42+
pip install mkdocs-material
43+
mkdocs build -d ./_site
4344
4445
- name: Upload artifact
4546
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)