ci: Fix pkill pattern to match running process
All checks were successful
BotServer CI / build (push) Successful in 8s
All checks were successful
BotServer CI / build (push) Successful in 8s
This commit is contained in:
parent
e5f3380469
commit
4f43b9eefc
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
- name: Deploy via SSH
|
||||
run: |
|
||||
set +e
|
||||
ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 pragmatismo-system "pkill -f /opt/gbo/bin/botserver; sleep 2; rm -f /opt/gbo/bin/botserver" 2>&1 | tee /tmp/deploy.log
|
||||
ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 pragmatismo-system "pkill -f botserver; sleep 2; rm -f /opt/gbo/bin/botserver" 2>&1 | tee /tmp/deploy.log
|
||||
echo "--- scp start ---" >> /tmp/deploy.log
|
||||
scp -o StrictHostKeyChecking=no /opt/gbo/ci/botserver/target/debug/botserver pragmatismo-system:/opt/gbo/bin/botserver 2>&1 | tee -a /tmp/deploy.log
|
||||
SCP_EXIT=${PIPESTATUS[0]}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue