update @native
Some checks failed
Setup Docker Action / setup_docker (3.12.7) (push) Has been skipped
Setup Native Action / setup_native (3.12.7) (push) Failing after 1m36s

This commit is contained in:
hoangvv 2025-01-15 10:51:08 +07:00
parent 42a686d8c3
commit 7b42b514d0

View File

@ -193,14 +193,8 @@ Generate_Config_Docker(){
}
Generate_Config_Native(){
# Load environment variables from .env file
if [ -f .env ]; then
export $(grep -v '^#' .env | xargs)
Show 2 "Environment variables loaded:"
printenv | sort
else
Show 1 ".env file not found!"
exit 1
fi
Show 2 "Environment variables loaded:"
printenv | sort
ADDONS=${1:-}
REPO_NAME=$(basename "$(git rev-parse --show-toplevel)" | sed -E 's/[.-]/_/g')
USER="${REPO_NAME:-"default_repo"}"