Skip to content

Commit

Permalink
[ops]: add warning for custom APPSMITH_GIT_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
pratapaprasanna committed May 10, 2024
1 parent 91626bd commit 1e02623
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions deploy/docker/fs/opt/appsmith/run-with-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ if [[ -z "${APPSMITH_RECAPTCHA_SITE_KEY}" ]] || [[ -z "${APPSMITH_RECAPTCHA_SECR
unset APPSMITH_RECAPTCHA_ENABLED
fi

export APPSMITH_GIT_ROOT=/appsmith-stacks/git-storage

if [[ -z "${APPSMITH_GIT_ROOT:-}" ]]; then
export APPSMITH_GIT_ROOT=/appsmith-stacks/git-storage
else
echo "WARNING: It appears a custom value has been configured for APPSMITH_GIT_ROOT. This behaviour is deprecated and will soon be removed."
fi
mkdir -pv "$APPSMITH_GIT_ROOT"

exec "$@"

0 comments on commit 1e02623

Please sign in to comment.