fix: use public URL (mysources.co.uk) for package install instructions
All checks were successful
CI/CD / typecheck (push) Successful in 48s
CI/CD / test (push) Successful in 59s
CI/CD / lint (push) Successful in 2m8s
CI/CD / build (push) Successful in 3m49s
CI/CD / publish-rpm (push) Successful in 38s
CI/CD / publish-deb (push) Successful in 23s
CI/CD / smoke (push) Successful in 8m23s

Internal API calls still use 10.0.0.194:3012, but all user-facing
install instructions now use the public GITEA_PUBLIC_URL.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Michal
2026-03-10 09:47:38 +00:00
parent 9c479e5615
commit 6e84631d59
5 changed files with 11 additions and 7 deletions

View File

@@ -11,6 +11,7 @@ if [ -f .env ]; then
fi
GITEA_URL="${GITEA_URL:-http://10.0.0.194:3012}"
GITEA_PUBLIC_URL="${GITEA_PUBLIC_URL:-https://mysources.co.uk}"
GITEA_OWNER="${GITEA_OWNER:-michal}"
GITEA_REPO="${GITEA_REPO:-mcpctl}"
@@ -65,6 +66,6 @@ link_package "debian" "mcpctl"
echo ""
echo "Install with:"
echo " echo \"deb ${GITEA_URL}/api/packages/${GITEA_OWNER}/debian trixie main\" | sudo tee /etc/apt/sources.list.d/mcpctl.list"
echo " curl -fsSL ${GITEA_URL}/api/packages/${GITEA_OWNER}/debian/repository.key | sudo gpg --dearmor -o /etc/apt/keyrings/mcpctl.gpg"
echo " echo \"deb ${GITEA_PUBLIC_URL}/api/packages/${GITEA_OWNER}/debian trixie main\" | sudo tee /etc/apt/sources.list.d/mcpctl.list"
echo " curl -fsSL ${GITEA_PUBLIC_URL}/api/packages/${GITEA_OWNER}/debian/repository.key | sudo gpg --dearmor -o /etc/apt/keyrings/mcpctl.gpg"
echo " sudo apt update && sudo apt install mcpctl"