From 864ce8176d81ff8de78e5de78c04cca917179927 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 1 Nov 2021 21:12:06 +0100 Subject: [PATCH] CI: Fixing the documentation build --- .github/workflows/documentation.yml | 2 +- src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 71c7c4ec..ec7560a8 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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 diff --git a/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs b/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs index 7e3df825..ad5b2b32 100644 --- a/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs +++ b/src/Kyoo.Core/Controllers/FileSystems/FileSystemComposite.cs @@ -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); }