Links: GitHub -> Gitea git.bobyrev.com (GitHub accounts suspended)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
set -e
|
||||
GH_TOKEN="${GH_TOKEN:-}"
|
||||
[ -n "$GH_TOKEN" ] || { echo "Нужен GH_TOKEN (env)."; exit 1; }
|
||||
PUB="https://adleibzon-rgb:${GH_TOKEN}@github.com/adleibzon-rgb/PCA_Phobos.git"
|
||||
PRIV="https://adleibzon-rgb:${GH_TOKEN}@github.com/adleibzon-rgb/PCA_Phobos-dev.git"
|
||||
PUB="https://adleibzon-rgb:${GH_TOKEN}@https://git.bobyrev.com/PCA/PCA_Phobos.git"
|
||||
PRIV="https://adleibzon-rgb:${GH_TOKEN}@https://git.bobyrev.com/PCA/PCA_Phobos-dev.git"
|
||||
WORK="${PCA_WORK:-/tmp/pca-promote-work}"
|
||||
|
||||
repo_for() { case "$1" in main) echo "$PUB";; beta|dev) echo "$PRIV";; esac; }
|
||||
|
||||
Reference in New Issue
Block a user