diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index 576a6beb..49e5d757 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -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