From 2915d95cdc41bbbbbf1451a5897d2ed984487b62 Mon Sep 17 00:00:00 2001 From: Max <82761650+MaxMustermann2@users.noreply.github.com> Date: Fri, 13 Dec 2024 18:26:53 +0530 Subject: [PATCH] fix(deploy-script): favicon generator (#2466) Without this change, the script tries to execute an `index.js` located in a folder that does not have such a file. --- deploy/scripts/favicon_generator.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/scripts/favicon_generator.sh b/deploy/scripts/favicon_generator.sh index 394e901b4e..7863bda406 100755 --- a/deploy/scripts/favicon_generator.sh +++ b/deploy/scripts/favicon_generator.sh @@ -4,7 +4,8 @@ master_url="${FAVICON_MASTER_URL:-$NEXT_PUBLIC_NETWORK_ICON}" export MASTER_URL="$master_url" cd ./deploy/tools/favicon-generator -node "$(dirname "$0")/index.js" +yarn install --frozen-lockfile +node "$(pwd)/index.js" if [ $? -ne 0 ]; then cd ../../../ exit 1