feat(ci): sync botui UI files to stage on deploy
Some checks failed
Botlib CI / build (push) Successful in 5s
BotServer CI / build (push) Failing after 1s
Bottest CI / build (push) Successful in 23s
BotUI CI / build (push) Successful in 13s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-04-23 22:07:57 +00:00
parent cf00a51245
commit 01de744bcd

View file

@ -27,3 +27,6 @@ jobs:
ssh -o StrictHostKeyChecking=no ${SYSTEM_USER}@${SYSTEM_HOST} "sudo mv /opt/gbo/bin/botserver-new /opt/gbo/bin/botserver && sudo chmod +x /opt/gbo/bin/botserver && sudo systemctl enable botserver && sudo systemctl start botserver"
sleep 10
ssh -o StrictHostKeyChecking=no ${SYSTEM_USER}@${SYSTEM_HOST} "curl -sf http://localhost:8080/health && echo 'BotServer Deployed' || echo 'Failed'"
- name: Sync UI Files to Stage
run: |
rsync -az --delete -e "ssh -o StrictHostKeyChecking=no" /opt/gbo/work/botserver/botui/ui/ ${SYSTEM_USER}@${SYSTEM_HOST}:/opt/gbo/data/botui/ui/