Commit 2915d95c authored by Max's avatar Max Committed by GitHub

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.
parent f672d23b
...@@ -4,7 +4,8 @@ master_url="${FAVICON_MASTER_URL:-$NEXT_PUBLIC_NETWORK_ICON}" ...@@ -4,7 +4,8 @@ master_url="${FAVICON_MASTER_URL:-$NEXT_PUBLIC_NETWORK_ICON}"
export MASTER_URL="$master_url" export MASTER_URL="$master_url"
cd ./deploy/tools/favicon-generator cd ./deploy/tools/favicon-generator
node "$(dirname "$0")/index.js" yarn install --frozen-lockfile
node "$(pwd)/index.js"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
cd ../../../ cd ../../../
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment