Skip to content

Commit 32be7b7

Browse files
author
PandaDiestro
authored
Update deploy.yml
1 parent 8d74f3b commit 32be7b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
eval "$(ssh-agent -s)"
1515
echo "${{ secrets.SSH_PRIVKEY }}" | tr -d '\r' > ~/.ssh/id_rsa
1616
echo "${{ secrets.SSH_PUBKEY }}" | tr -d '\r' > ~/.ssh/id_rsa.pub
17-
chmod 600 ~/.ssh/id_rsa
18-
chmod 600 ~/.ssh/id_rsa.pub
17+
chmod 644 ~/.ssh/id_rsa
18+
chmod 644 ~/.ssh/id_rsa.pub
1919
ssh-add -vvv
2020
ls ~/.ssh/
2121
ssh-keyscan -H "${{ secrets.SSH_IP }}" >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)