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.
This commit is contained in:
Max
2024-12-13 13:56:53 +01:00
committed by GitHub
parent 7187fc80e6
commit 7947f1fc74
+2 -1
View File
@@ -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