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

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-19 01:12:54 -03:00
parent 79ca7e1da0
commit 8e58038295

View file

@ -22,10 +22,11 @@ jobs:
with:
node-version: '20'
cache: 'npm'
- name: Copy files to deployment location
run: |
sudo rm -rf /opt/gbo/bin/BotServer
sudo mkdir -p /opt/gbo/bin/BotServer
sudo cp -r ./* /opt/gbo/bin/BotServer
sudo cp /opt/gbo/conf.d/bot/.env /opt/gbo/bin/BotServer