diff --git a/deploy/entrypoint.sh b/deploy/entrypoint.sh index 0dcf0de7..25070a05 100644 --- a/deploy/entrypoint.sh +++ b/deploy/entrypoint.sh @@ -22,7 +22,7 @@ function apply_path { if [ -n "$configValue" ] && [ -n "$envValue" ]; then # replace all echo "Replace: ${configValue} with: ${envValue}" - find $nextFolder \( -type d -wholename .next/cache -prune \) \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#$configValue#$envValue#g" + find $nextFolder \( -type d -name cache -prune \) \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#$configValue#$envValue#g" fi done < $envFilename }