fix: use separate ssh commands
This commit is contained in:
parent
86bd3220fc
commit
8d77d813cf
2 changed files with 3 additions and 3 deletions
|
|
@ -79,8 +79,8 @@ jobs:
|
|||
echo "⚡ INFO Run npm install on VPS"
|
||||
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{vars.VPS_DEPLOY_USER}} cd /var/www/eolas-api && npm install --omit=dev
|
||||
|
||||
|
||||
echo "⚡ INFO Restarting service"
|
||||
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{vars.VPS_DEPLOY_USER}} sudo /usr/bin/systemctl daemon-reload && sudo /usr/bin/systemctl start eolas-api.service
|
||||
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{vars.VPS_DEPLOY_USER}} sudo /usr/bin/systemctl daemon-reload
|
||||
ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{vars.VPS_DEPLOY_USER}} sudo /usr/bin/systemctl start eolas-api.service
|
||||
|
||||
rm /tmp/ssh_key
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eolas-api",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"description": "API for querying eolas-db, my Zettelkasten database",
|
||||
"license": "ISC",
|
||||
"author": "Thomas Bishop",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue