fix(workflow): ensure BotServer directory is created before copying files
All checks were successful
GBCI / build (push) Successful in 6m33s
All checks were successful
GBCI / build (push) Successful in 6m33s
This commit is contained in:
parent
8e58038295
commit
380f2ce83a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue