Files
dbis_docs/load_env.sh
2025-12-07 10:53:30 -08:00

13 lines
282 B
Bash
Executable File

#!/bin/bash
# Load environment variables from .env file
if [ -f .env ]; then
export $(grep -v '^#' .env | xargs)
echo "Environment variables loaded from .env"
echo "GITHUB_TOKEN is set: ${GITHUB_TOKEN:0:10}..."
else
echo "Error: .env file not found"
exit 1
fi