fix(workflow): ensure BotServer directory is created before copying files
All checks were successful
GBCI / build (push) Successful in 8m8s
All checks were successful
GBCI / build (push) Successful in 8m8s
This commit is contained in:
parent
79ca7e1da0
commit
8e58038295
1 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ 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