From e675dffe0692fe968c12eade21b07d54afd36fee Mon Sep 17 00:00:00 2001 From: idanoo Date: Mon, 12 Sep 2022 17:19:45 +1200 Subject: [PATCH] Add open ssh --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 81db335..7be7065 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,7 +3,7 @@ pipeline: image: alpine commands: - apk update - - apk add ssh + - apk add openssh - ssh-keygen -R $M2_HOST - echo $M2_DEPLOY_KEY > /root/.ssh/privkey - ssh -i /root/.ssh/privkey root@M2_HOST 'cd /var/www/m2.nz && git pull && chown www-data:users -R /var/www/m2.nz && sudo systemctl reload nginx.service'