diff --git a/entrypoint.sh b/entrypoint.sh index 8f8dd54..1a50810 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,10 @@ VERBOSE=${INPUT_VERBOSE:false} # echo "Base dir: ${BASE_DIR}" # echo "Verbose: ${VERBOSE}" -MODULE_PATH="${WORKSPACE_ROOT}${BASE_DIR}modules/${MODULE_NAME}" +MODULE_PATH="${WORKSPACE_ROOT}${BASE_DIR}extensions/${MODULE_NAME}" +if [ ! -d "$MODULE_PATH" ]; then + MODULE_PATH="${WORKSPACE_ROOT}${BASE_DIR}modules/${MODULE_NAME}" +fi WORK_FOLDER="work" OUTPUT_FOLDER="output" OUTPUT_PATH="${WORKSPACE_ROOT}${WORK_FOLDER}/${OUTPUT_FOLDER}/${MODULE_NAME}"