diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7ffc3b6ed38e802eb99a5273a9961583963b339e..db4de5f3eb5e0721027e1c76142431065bc8f544 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: