Fix SSH key permissions
This commit is contained in:
@@ -57,7 +57,9 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir $HOME/.ssh
|
||||
chmod u=rwx,go= $HOME/.ssh
|
||||
echo "${{ secrets.SSHKEY }}" | base64 -d > $HOME/.ssh/id_ed25519
|
||||
chmod u=rw,go= $HOME/.ssh/id_ed25519
|
||||
echo "Host xaymar.com" >> $HOME/.ssh/config
|
||||
echo " StrictHostKeyChecking no" >> $HOME/.ssh/config
|
||||
- name: "Publish"
|
||||
|
||||
Reference in New Issue
Block a user