From 1a0c96fc7e15aae4181e6d7d396709b26d3d0394 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 28 Apr 2026 19:04:01 -0300 Subject: [PATCH] fix: Build botui as release profile, deploy from target/release/ --- .forgejo/workflows/botserver.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index fcfe67cf..56090f97 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -33,8 +33,8 @@ jobs: export RUSTC_WRAPPER=sccache echo "=== sccache stats before build ===" sccache --show-stats 2>/dev/null || echo "sccache not available" - CARGO_BUILD_JOBS=6 cargo build -p botserver --bin botserver - CARGO_BUILD_JOBS=6 cargo build -p botui --bin botui + CARGO_BUILD_JOBS=6 cargo build -p botserver --bin botserver + CARGO_BUILD_JOBS=6 cargo build -p botui --bin botui --release echo "=== sccache stats after build ===" sccache --show-stats 2>/dev/null || echo "sccache not available" @@ -45,7 +45,7 @@ jobs: /opt/gbo/work/generalbots/target/debug/botserver \ gbuser@system:/opt/gbo/bin/botserver-new scp -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \ - /opt/gbo/work/generalbots/target/debug/botui \ + /opt/gbo/work/generalbots/target/release/botui \ gbuser@system:/opt/gbo/bin/botui-new ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \ gbuser@system \