ci-scripts: recreate working dir just in case it was placed under /opt/openvidu

pull/786/head
pabloFuente 2023-01-04 14:16:30 +01:00
parent ecadb91b3e
commit 3091070179
1 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ if [[ "${CLEAN_ENVIRONMENT}" == true || "${EXECUTE_ALL}" == true ]]; then
# Clean /opt/openvidu contents
rm -rf /opt/openvidu/*
# Recreate working dir just in case it was placed under /opt/openvidu
if [[ -n "${GITHUB_ACTIONS_WORKING_DIR:-}" ]]; then
mkdir -p "${GITHUB_ACTIONS_WORKING_DIR}"
fi
fi
# -------------