fix: Remover git clone e usar path /opt/gbo/work/botserver/src
Some checks failed
BotServer CI/CD / build (push) Failing after 0s
Some checks failed
BotServer CI/CD / build (push) Failing after 0s
This commit is contained in:
parent
1f19d47cec
commit
b39dc3e268
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue