From 0ba24035aae5333170f868b48edbafa713074765 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Fri, 9 Jun 2023 19:47:05 +0900 Subject: [PATCH] github/workflows: fix git safe.directory config Signed-off-by: Koichi Shiraishi --- .github/workflows/gh-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c8670f53f..e9d49991c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -34,6 +34,7 @@ jobs: entrypoint: sh args: | -c \ - "pip install -U --pre --compile --requirement /github/workspace/config/requirements.txt && \ + "git config --global --add safe.directory /github/workspace && \ + pip install -U --pre --compile --requirement /github/workspace/config/requirements.txt && \ mkdocs build -c -f /github/workspace/config/mkdocs.yml && \ mkdocs gh-deploy --config-file /github/workspace/config/mkdocs.yml --verbose --force"