Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,6 @@ jobs:
- name: Check dependency health
run: python3 -m scripts.dependencies.check_package_health --solution ModularityKit.Mutator.slnx

docs:
name: docs
runs-on: ubuntu-latest
needs: build

steps:
- uses: actions/checkout@v5

- uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x

- name: Install DocFX
run: dotnet tool update -g docfx

- name: Build docs
run: docfx docfx.json

tests:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -195,7 +177,6 @@ jobs:
needs:
- build
- dependency-health
- docs
- tests
- examples-core
- examples-governance
Expand All @@ -207,15 +188,13 @@ jobs:
run: |
echo "build: ${{ needs.build.result }}"
echo "dependency-health: ${{ needs.dependency-health.result }}"
echo "docs: ${{ needs.docs.result }}"
echo "tests: ${{ needs.tests.result }}"
echo "examples-core: ${{ needs.examples-core.result }}"
echo "examples-governance: ${{ needs.examples-governance.result }}"
echo "examples-governance-redis: ${{ needs.examples-governance-redis.result }}"

if [ "${{ needs.build.result }}" != "success" ] || \
[ "${{ needs.dependency-health.result }}" != "success" ] || \
[ "${{ needs.docs.result }}" != "success" ] || \
[ "${{ needs.tests.result }}" != "success" ] || \
[ "${{ needs.examples-core.result }}" != "success" ] || \
[ "${{ needs.examples-governance.result }}" != "success" ] || \
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Publish Docs

on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
name: build docs
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

- uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x

- name: Install DocFX
run: dotnet tool update -g docfx

- name: Build docs
run: docfx docfx.json

- name: Mark site as non-Jekyll
run: touch _site/.nojekyll

- name: Upload docs site
uses: actions/upload-pages-artifact@v3
with:
path: _site

deploy:
name: deploy docs
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ docfx docfx.json

The generated site includes the conceptual docs under `Docs/` and the public API reference for the
three published packages.

The published site is deployed from `main` to GitHub Pages:

https://modularitykit.github.io/ModularityKit.Mutator/
Loading