:: commit 419d4934db36c29a27bbc669166cbefdf6b03c36

mintsuki <mintsuki@protonmail.com> — 2022-02-11 20:10

parents: 5d407dbdf1

gh: Make sure ssh key has right perms

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2bac7a82..b8d43ff5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -112,7 +112,7 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Retrieve SSH key
-        run: 'echo "$ssh_key" > ssh_key'
+        run: 'echo "$ssh_key" > ssh_key && chmod 600 ssh_key'
         env:
           ssh_key: ${{ secrets.SSH_KEY }}
 
tab: 248 wrap: offon