From b8ed4c0e59d7081a6ff2a6505e1041a091a28b79 Mon Sep 17 00:00:00 2001 From: Gregor Best <gbe@unobtanium.de> Date: Sat, 22 May 2021 19:02:16 +0200 Subject: [PATCH] Lock down permissions on SSH deploy key Not that it matters much in this context, but it makes the SSH command happy --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ffc3b6..db4de5f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,7 @@ deploy: - apk add openssh-client pv - mkdir ~/.ssh - ssh-keyscan -p 2222 wine.unobtanium.de > ~/.ssh/known_hosts + - chmod 0644 "$DEPLOY_SSH_KEY" - pv invinoveritas | ssh -i "$DEPLOY_SSH_KEY" -p 2222 wine@wine.unobtanium.de stages: -- GitLab