This commit is contained in:
@@ -24,7 +24,13 @@ jobs:
|
|||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
ssh-keyscan -H haschel >> ~/.ssh/known_hosts 2>/dev/null || true
|
cat >> ~/.ssh/config << 'EOF'
|
||||||
|
Host haschel.tadpole-pain.ts.net
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
UserKnownHostsFile /dev/null
|
||||||
|
IdentityFile ~/.ssh/id_ed25519
|
||||||
|
EOF
|
||||||
|
chmod 600 ~/.ssh/config
|
||||||
|
|
||||||
- name: Deploy with deploy-rs
|
- name: Deploy with deploy-rs
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user