fix(workflow): ensure BotServer directory is created before copying files
This commit is contained in:
parent
10294c9a82
commit
a8c3c696e8
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue