13 lines
282 B
Bash
Executable File
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
|
|
|