Ludovic Cartier 8d7a64cc9a
Some checks failed
mkdocs build / build (push) Failing after 3s
remove release action & add rsync action
2024-08-29 16:56:43 +02:00

12 lines
168 B
Bash

#!/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"