chore(deploy): allow a gitignored local override for deploy targets
deploy.sh now sources ./.deploy.local at runtime if it exists, letting a maintainer point the script at their own hosts without committing them — the tracked defaults stay placeholders. .deploy.local and .deploy-local/ are gitignored so real hostnames/IPs never land in the repo.
This commit is contained in:
@@ -32,6 +32,16 @@ PI_PATH="~/backspace"
|
||||
BETA_HOST="orbit.ddns.net"
|
||||
BETA_PATH="~/backspace"
|
||||
|
||||
# ── Local target override (gitignored) ──────────────────────
|
||||
# The values above are public placeholders. A maintainer can point this script
|
||||
# at real infrastructure by creating ./.deploy.local (git-ignored) that reassigns
|
||||
# PI_USER / PI_LOCAL / PI_REMOTE / PI_PATH / BETA_HOST / BETA_PATH. This keeps
|
||||
# real hostnames, IPs, and usernames out of the public repo. Never commit it.
|
||||
if [[ -f ./.deploy.local ]]; then
|
||||
# shellcheck source=/dev/null
|
||||
source ./.deploy.local
|
||||
fi
|
||||
|
||||
# ── Rsync excludes ──────────────────────────────────────────
|
||||
|
||||
EXCLUDES=(
|
||||
|
||||
Reference in New Issue
Block a user