Fix debian 10 deployment
This commit is contained in:
parent
494e31c4b1
commit
0b5ded2abf
1 changed files with 2 additions and 2 deletions
|
@ -132,9 +132,9 @@ steps:
|
|||
echo "\033[1;33m.. copying the binary\033[0m"
|
||||
rsync -ave "ssh -J root@$PROXY" node-api root@$NODE:/usr/local/bin/node-api_
|
||||
echo "\033[1;33m.. replacing the binary\033[0m"
|
||||
ssh root@$NODE mv /usr/local/bin/node-api_ /usr/local/bin/node-api
|
||||
ssh -J root@$PROXY root@$NODE mv /usr/local/bin/node-api_ /usr/local/bin/node-api
|
||||
echo "\033[1;33m.. restarting service\033[0m"
|
||||
ssh root@$NODE systemctl restart node-api
|
||||
ssh -J root@$PROXY root@$NODE systemctl restart node-api
|
||||
done
|
||||
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in a new issue