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.*
|
||||
- src/**/*
|
||||
- .forgejo/**/*
|
||||
- mkdocs.yml
|
||||
|
||||
jobs:
|
||||
# Build it locally, this helps caching for later
|
||||
|
@ -31,4 +32,4 @@ jobs:
|
|||
- uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet/deploy@v3
|
||||
with:
|
||||
input: 'skynet_website_wiki'
|
||||
token: ${{ secrets.API_TOKEN_FORGEJO }}
|
||||
token: ${{ secrets.API_TOKEN_FORGEJO }}
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
pkgs.python3Packages.mkdocs
|
||||
pkgs.python3Packages.mkdocs-material
|
||||
];
|
||||
shellHook = ''
|
||||
echo "Building wiki"
|
||||
mkdocs build
|
||||
mkdocs serve
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue