update git url
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user