Fix docs release

This commit is contained in:
Alexey Milovidov 2020-12-21 21:26:31 +03:00
parent d66506299f
commit 7c6a4f4ac9

View File

@ -14,8 +14,8 @@ if [[ -z "$1" ]]
then
source "${BASE_DIR}/venv/bin/activate"
python3 "${BASE_DIR}/build.py" ${EXTRA_BUILD_ARGS}
rm -rf "${PUBLISH_DIR}" || true
cd "${PUBLISH_DIR}"
rm -rf "${PUBLISH_DIR}"
mkdir "${PUBLISH_DIR}" && cd "${PUBLISH_DIR}"
# Will make a repository with website content as the only commit.
git init