fix(workflow): ensure BotServer directory is created before copying files
All checks were successful
GBCI / build (push) Successful in 6m33s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-19 01:42:51 -03:00
parent 8e58038295
commit 380f2ce83a

View file

@ -25,8 +25,8 @@ jobs:
- name: Copy files to deployment location - name: Copy files to deployment location
run: | run: |
sudo rm -rf /opt/gbo/bin/BotServer sudo rm -rf /opt/gbo/bin/BotServer/*
sudo mkdir -p /opt/gbo/bin/BotServer
sudo cp -r ./* /opt/gbo/bin/BotServer sudo cp -r ./* /opt/gbo/bin/BotServer
sudo cp /opt/gbo/conf.d/bot/.env /opt/gbo/bin/BotServer sudo cp /opt/gbo/conf.d/bot/.env /opt/gbo/bin/BotServer