mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-02 10:54:59 +03:00
pre-build
This commit is contained in:
parent
b9ae266efa
commit
012356ced5
@ -3,7 +3,7 @@
|
||||
printf "Old .env file:\n"
|
||||
cat .env
|
||||
printf "Started script:\n"
|
||||
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|API|TOKEN|URL/"}
|
||||
ENV_WHITELIST=${ENV_WHITELIST:-"/ACTIVITY|WEBSOCKET|BACKEND|API|TOKEN|PIN|URL/"}
|
||||
printf "Creating an .env file with the following whitelist:\n"
|
||||
printf "%s\n\n" $ENV_WHITELIST
|
||||
set | egrep -e $ENV_WHITELIST | egrep -v "^_" | egrep -v "WHITELIST" | egrep -v "USER-DEFINED" > .env
|
||||
|
Loading…
Reference in New Issue
Block a user