Files
explore/deploy/scripts/validate_envs.sh
T
tom goriunovandGitHub 0bec5abfff workaround for ENV replacement script (#1212)
* base implementation of client script with envs values

* better ENVs setup for pw tests

* fix tests
2023-09-29 10:45:23 -03:00

13 lines
274 B
Bash
Executable File

#!/bin/bash
# Check if the .env file exists
if [ -f .env ]; then
# Load the environment variables from .env
source .env
fi
# Check run-time ENVs values integrity
node "$(dirname "$0")/envs-validator.js" "$input"
if [ $? != 0 ]; then
exit 1
fi