CI: Fixing the documentation build

This commit is contained in:
Zoe Roux 2021-11-01 21:12:06 +01:00
parent 94bc5c840c
commit 864ce8176d
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ jobs:
args: docs/docfx.json
- name: Update the docs
run: |
cd _site
cd docs/_site
git config --global user.email "${GITHUB_ACTOR}@github.com";
git config --global user.name "${GITHUB_ACTOR}";
git init

View File

@ -207,10 +207,10 @@ namespace Kyoo.Core.Controllers
{
IResource res => Combine(
_options.CurrentValue.MetadataPath,
typeof(T).Name.ToLowerInvariant(),
typeof(T).Name.ToLower(),
res.Slug
),
_ => Combine(_options.CurrentValue.MetadataPath, typeof(T).Name.ToLowerInvariant())
_ => Combine(_options.CurrentValue.MetadataPath, typeof(T).Name.ToLower())
};
return await CreateDirectory(path);
}