Skip to content

Commit 4e32c3c

Browse files
committed
Update Workflow
1 parent db4d5ce commit 4e32c3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/docker-backend.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
5050
with:
5151
ssh-private-key: ${{ secrets.SSH_KEY }}
5252

53+
- name: Configure SSH (disable host key checking)
54+
run: |
55+
mkdir -p ~/.ssh
56+
echo "Host *" > ~/.ssh/config
57+
echo " StrictHostKeyChecking no" >> ~/.ssh/config
58+
echo " UserKnownHostsFile=/dev/null" >> ~/.ssh/config
59+
chmod 600 ~/.ssh/config
60+
5361
- name: Execute SSH command on remote
5462
run: |
5563
ssh nilsj@nilss-mac-mini.tailed622e.ts.net

0 commit comments

Comments
 (0)