Skip to content

Commit

Permalink
update docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Jan 10, 2024
1 parent 1c4df59 commit b36f08a
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 12 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Documentation

on:
push:
branches:
- master
- develop
tags:
- 'v*'
paths:
- 'docs/**'
- 'mkdocs.yml'

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x

- name: Install mkdocs
run: pip install mkdocs-material

- name: Build
run: mkdocs gh-deploy --force
5 changes: 4 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
- develop
tags:
- 'v*'
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
pull_request:
branches:
- master
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
dotnet-version: |
6.0.x
8.0.x
Expand Down
10 changes: 0 additions & 10 deletions .readthedocs.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
site_name: Entity Framework Core Generator
theme: readthedocs
theme: material
repo_url: https://github.com/loresoft/EntityFrameworkCore.Generator

nav:
Expand Down

0 comments on commit b36f08a

Please sign in to comment.