Drop sudo from deploy job; act containers already run as root.
This commit is contained in:
parent
ed20c35396
commit
9af373df0e
@ -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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user