Skip to content

Commit

Permalink
ci: Fixed mkdocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Jan 5, 2025
1 parent bb51e85 commit 062474a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,20 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5

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

- 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
Expand Down

0 comments on commit 062474a

Please sign in to comment.