CI: use unprivledged user
All checks were successful
Update Website / update (push) Successful in 3s
All checks were successful
Update Website / update (push) Successful in 3s
This commit is contained in:
parent
a9352ddd09
commit
e374c05671
1 changed files with 1 additions and 1 deletions
|
@ -29,4 +29,4 @@ jobs:
|
||||||
echo "#!/bin/bash" > /tmp/ssh-pass.sh
|
echo "#!/bin/bash" > /tmp/ssh-pass.sh
|
||||||
echo "echo $SSH_PASSWORD" >> /tmp/ssh-pass.sh
|
echo "echo $SSH_PASSWORD" >> /tmp/ssh-pass.sh
|
||||||
chmod +x /tmp/ssh-pass.sh
|
chmod +x /tmp/ssh-pass.sh
|
||||||
DISPLAY=:0 ssh -o StrictHostKeyChecking=no "root@$SSH_HOST" "cd ReactLearn; git pull; docker compose restart"
|
DISPLAY=:0 ssh -o StrictHostKeyChecking=no "app-runner@$SSH_HOST" "cd ReactLearn; git pull; docker compose restart"
|
Loading…
Reference in a new issue