Skip to content

Commit 062474a

Browse files
committed
ci: Fixed mkdocs.
1 parent bb51e85 commit 062474a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/mkdocs.yml

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

35-
- name: Install dependencies
36-
run: pip install mkdocs-material
35+
- name: Setup .NET
36+
uses: actions/setup-dotnet@v4
37+
with:
38+
dotnet-version: 9.0.x
3739

3840
- name: Generate docs
3941
run: dotnet run --project src/Helpers/GenerateDocs/GenerateDocs.csproj .
4042

4143
- name: Build with MkDocs
42-
run: mkdocs build -d ./_site
44+
run: |
45+
python -m venv myenv
46+
source myenv/bin/activate
47+
pip install mkdocs-material
48+
mkdocs build -d ./_site
4349
4450
- name: Upload artifact
4551
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)