fix: Remover git clone e usar path /opt/gbo/work/botserver/src
Some checks failed
BotServer CI/CD / build (push) Failing after 0s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-18 16:07:29 -03:00
parent 1f19d47cec
commit b39dc3e268

View file

@ -25,26 +25,23 @@ jobs:
# Setup project workspace
mkdir -p ~/workspace/botserver
cd ~/workspace/botserver
cd /opt/gbo/work/botserver/src
# Clone or update repos
if [ ! -d botlib ]; then
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/botlib.git
else
cd botlib && git pull && cd ..
fi
if [ ! -d botserver/.git ]; then
rm -rf botserver
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/BotServer.git botserver
else
cd botserver && git pull && cd ..
fi
if [ ! -d ~/workspace/gb-ws ]; then
git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/gb.git ~/workspace/gb-ws
else
cd ~/workspace/gb-ws && git pull && cd ~/workspace/botserver
cd /opt/gbo/work/botserver/src && git pull && cd /opt/gbo/work/botserver/src
fi
# Setup Cargo.toml