Skip to content

Commit 11b932c

Browse files
committed
github/workflows: fix git safe.directory config
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent 13824b6 commit 11b932c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
entrypoint: sh
3535
args: |
3636
-c \
37-
"pip install -U --pre --compile --requirement /github/workspace/config/requirements.txt && \
37+
"git config --global --add safe.directory /github/workspace && \
38+
pip install -U --pre --compile --requirement /github/workspace/config/requirements.txt && \
3839
mkdocs build -c -f /github/workspace/config/mkdocs.yml && \
3940
mkdocs gh-deploy --config-file /github/workspace/config/mkdocs.yml --verbose --force"

0 commit comments

Comments
 (0)