feat(deploy): parameterize distribution URLs via MAM_*_URL env vars
- install.sh: REPO_URL and ARCHIVE_URL now use ${MAM_REPO_URL:-...} and ${MAM_ARCHIVE_URL:-...}
- update.sh: INSTALLER_URL now uses ${MAM_INSTALLER_URL:-...} with env-inheritance comment
- .env.example: add MAM_REPO_URL / MAM_ARCHIVE_URL / MAM_INSTALLER_URL section with usage notes
- deploy/README.md: add Custom Fork / Private Mirror installation examples
This commit is contained in:
+2
-2
@@ -54,8 +54,8 @@ echo "✅ PyYAML (system dependency) detected."
|
||||
mkdir -p "$TARGET_DIR"
|
||||
cd "$TARGET_DIR"
|
||||
|
||||
REPO_URL="https://git.godopu.com/tmpl/multi-agent-mux.git"
|
||||
ARCHIVE_URL="https://git.godopu.com/tmpl/multi-agent-mux/archive/main.tar.gz"
|
||||
REPO_URL="${MAM_REPO_URL:-https://git.godopu.com/tmpl/multi-agent-mux.git}"
|
||||
ARCHIVE_URL="${MAM_ARCHIVE_URL:-https://git.godopu.com/tmpl/multi-agent-mux/archive/main.tar.gz}"
|
||||
|
||||
# Helper to verify presence of all core runtime files.
|
||||
# Keying off a set of core files helps detect and recover from partial/interrupted installations.
|
||||
|
||||
Reference in New Issue
Block a user