File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,7 @@ jobs:
341
341
# Add SSH key
342
342
mkdir -p /home/runner/.ssh
343
343
ssh-keyscan dev-websites.cpp.al >> /home/runner/.ssh/known_hosts
344
+ chmod 600 /home/runner/.ssh/known_hosts
344
345
echo "${{ secrets.DEV_WEBSITES_SSH_KEY }}" > /home/runner/.ssh/github_actions
345
346
chmod 600 /home/runner/.ssh/github_actions
346
347
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
@@ -452,8 +453,8 @@ jobs:
452
453
# Add SSH key
453
454
set -x
454
455
mkdir -p /home/runner/.ssh
455
- chmod 600 /home/runner/.ssh/known_hosts
456
456
ssh-keyscan dev-websites.cpp.al >> /home/runner/.ssh/known_hosts
457
+ chmod 600 /home/runner/.ssh/known_hosts
457
458
echo "${{ secrets.DEV_WEBSITES_SSH_KEY }}" > /home/runner/.ssh/github_actions
458
459
chmod 600 /home/runner/.ssh/github_actions
459
460
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
You can’t perform that action at this time.
0 commit comments