From d59a481404e47f5e44ac68cb106b0a60495a3fad Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 15 Mar 2022 19:29:14 -0300 Subject: [PATCH] Subir con root y arreglar permisos --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 6f93678..1422fec 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,7 +11,7 @@ pipeline: - echo "$${SSH_KEY}" | tr -d '\r' | ssh-add - - mkdir -p ~/.ssh - echo "[nulo.in]:420,[186.136.121.7]:420 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGPkgRVWYcVcgjI0xAjDgZQsYuXU9edcya8zna01ibyUMlfKHIMD9yOoq0R+fQPTCqwiol/2tKMPJ2hlKshc+H8=" > ~/.ssh/known_hosts - - rsync --rsh='ssh -p420' --progress --chmod=644 gitea diablo@nulo.in:/usr/local/bin/gitea + - rsync --rsh='ssh -p420' --progress --chmod=755 gitea root@nulo.in:/usr/local/bin/gitea - ssh -p420 diablo@nulo.in 'doas sv restart gitea' when: branch: 420