jmopines/.env
Jean-Michel Tremblay 9a9de04e04 Extract shared config into .env, source from all scripts
SITE_DIR, HUGO_IMAGE, PORT defined once in .env.
Scripts source it instead of duplicating definitions.
2026-04-03 17:17:19 -04:00

8 lines
312 B
Bash

# Shared configuration for all scripts.
# Sourced by scripts/*.sh — do not use Docker --env-file with this.
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[1]}")" && pwd)"
PROJECT_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
SITE_DIR="${PROJECT_ROOT}/site"
HUGO_IMAGE="ghcr.io/gohugoio/hugo:latest"
PORT="${PORT:-1313}"