fix: Build botui as release profile, deploy from target/release/
This commit is contained in:
parent
89be3a59a2
commit
1a0c96fc7e
1 changed files with 3 additions and 3 deletions
|
|
@ -33,8 +33,8 @@ jobs:
|
||||||
export RUSTC_WRAPPER=sccache
|
export RUSTC_WRAPPER=sccache
|
||||||
echo "=== sccache stats before build ==="
|
echo "=== sccache stats before build ==="
|
||||||
sccache --show-stats 2>/dev/null || echo "sccache not available"
|
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 botserver --bin botserver
|
||||||
CARGO_BUILD_JOBS=6 cargo build -p botui --bin botui
|
CARGO_BUILD_JOBS=6 cargo build -p botui --bin botui --release
|
||||||
echo "=== sccache stats after build ==="
|
echo "=== sccache stats after build ==="
|
||||||
sccache --show-stats 2>/dev/null || echo "sccache not available"
|
sccache --show-stats 2>/dev/null || echo "sccache not available"
|
||||||
|
|
||||||
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
/opt/gbo/work/generalbots/target/debug/botserver \
|
/opt/gbo/work/generalbots/target/debug/botserver \
|
||||||
gbuser@system:/opt/gbo/bin/botserver-new
|
gbuser@system:/opt/gbo/bin/botserver-new
|
||||||
scp -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
|
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
|
gbuser@system:/opt/gbo/bin/botui-new
|
||||||
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
|
ssh -i /home/gbuser/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
|
||||||
gbuser@system \
|
gbuser@system \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue