update git url

This commit is contained in:
2026-05-29 13:06:00 +08:00
parent ac0f7311f2
commit 390be291a6
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,12 +6,12 @@ set -e
RAND_NAME=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 16; echo)
mkdir -p /home/skyblond/tmp/opencode
WORKDIR=/home/skyblond/tmp/opencode/cleverrouter-core-$RAND_NAME
WORKDIR=/home/skyblond/tmp/opencode/cleveragents-webapp-$RAND_NAME
trap 'cd /home/skyblond/tmp/opencode && rm -rf "$WORKDIR"' EXIT
git clone \
https://$FORGEJO_PAT@git.cleverthis.com/cleverrouter/cleverrouter-core.git \
https://$FORGEJO_PAT@git.cleverthis.com/cleveragents/cleveragents-webapp.git \
$WORKDIR
cd $WORKDIR
+2 -2
View File
@@ -4,10 +4,10 @@ set -e
[ ! -f .env ] || export $(grep -v '^#' .env | xargs)
WORKDIR=~/git/git.cleverthis.com/cleverrouter/cleverrouter-core
WORKDIR=~/git/git.cleverthis.com/cleveragents/cleveragents-webapp
git clone \
https://$FORGEJO_PAT@git.cleverthis.com/cleverrouter/cleverrouter-core.git \
https://$FORGEJO_PAT@git.cleverthis.com/cleveragents/cleveragents-webapp.git \
$WORKDIR || true
cd $WORKDIR