This commit is contained in:
11
.actions/mkdocs-build/entrypoint.sh
Normal file
11
.actions/mkdocs-build/entrypoint.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
cd "$3"
|
||||
|
||||
if test -d .git; then
|
||||
git config --global --add safe.directory "$(realpath "$3")"
|
||||
fi
|
||||
|
||||
mkdocs build --config-file "$1" --site-dir "$2"
|
Reference in New Issue
Block a user