From 1db4dba6de7f58fd5911d3e071b9cb4d552f00c5 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Thu, 12 Dec 2024 20:01:42 +0000 Subject: [PATCH] fix(deploy-script): favicon generator 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