Drop sudo from deploy job; act containers already run as root.
All checks were successful
CI / Typecheck and test (push) Successful in 8s
Deploy / Test and deploy (push) Successful in 30s

This commit is contained in:
alisaza 2026-09-13 14:56:57 +03:30
parent ed20c35396
commit 9af373df0e

View File

@ -36,8 +36,8 @@ jobs:
test -n "${VPS_HOST:-}" test -n "${VPS_HOST:-}"
test -n "${VPS_USER:-}" test -n "${VPS_USER:-}"
sudo apt-get update -qq apt-get update -qq
sudo apt-get install -y -qq rsync openssh-client apt-get install -y -qq rsync openssh-client
install -m 700 -d "$HOME/.ssh" install -m 700 -d "$HOME/.ssh"
printf '%s\n' "$SSH_KEY" > "$HOME/.ssh/deploy_key" printf '%s\n' "$SSH_KEY" > "$HOME/.ssh/deploy_key"