Skip to content

Commit b36f08a

Browse files
committed
update docs build
1 parent 1c4df59 commit b36f08a

File tree

4 files changed

+38
-12
lines changed

4 files changed

+38
-12
lines changed

.github/workflows/docs.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
tags:
9+
- 'v*'
10+
paths:
11+
- 'docs/**'
12+
- 'mkdocs.yml'
13+
14+
permissions:
15+
contents: write
16+
17+
jobs:
18+
deploy:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Python
25+
uses: actions/setup-python@v4
26+
with:
27+
python-version: 3.x
28+
29+
- name: Install mkdocs
30+
run: pip install mkdocs-material
31+
32+
- name: Build
33+
run: mkdocs gh-deploy --force

.github/workflows/dotnet.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- develop
1616
tags:
1717
- 'v*'
18+
paths-ignore:
19+
- 'docs/**'
20+
- 'mkdocs.yml'
1821
pull_request:
1922
branches:
2023
- master
@@ -45,7 +48,7 @@ jobs:
4548
- name: Install .NET
4649
uses: actions/setup-dotnet@v4
4750
with:
48-
dotnet-version: |
51+
dotnet-version: |
4952
6.0.x
5053
8.0.x
5154

.readthedocs.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: Entity Framework Core Generator
2-
theme: readthedocs
2+
theme: material
33
repo_url: https://github.com/loresoft/EntityFrameworkCore.Generator
44

55
nav:

0 commit comments

Comments
 (0)