add build to flake, update ci to build on changes to conf
This commit is contained in:
parent
cba889a56f
commit
111fcc9aee
2 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,7 @@ on:
|
||||||
- flake.*
|
- flake.*
|
||||||
- src/**/*
|
- src/**/*
|
||||||
- .forgejo/**/*
|
- .forgejo/**/*
|
||||||
|
- mkdocs.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Build it locally, this helps caching for later
|
# Build it locally, this helps caching for later
|
||||||
|
|
|
@ -26,6 +26,11 @@
|
||||||
pkgs.python3Packages.mkdocs
|
pkgs.python3Packages.mkdocs
|
||||||
pkgs.python3Packages.mkdocs-material
|
pkgs.python3Packages.mkdocs-material
|
||||||
];
|
];
|
||||||
|
shellHook = ''
|
||||||
|
echo "Building wiki"
|
||||||
|
mkdocs build
|
||||||
|
mkdocs serve
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue