From f5a5f1a26591f71ace8ced23661782aeba1ac612 Mon Sep 17 00:00:00 2001 From: DJaegerScript Date: Thu, 18 Jan 2024 23:02:09 +0700 Subject: [PATCH] add keyscan step --- .github/workflows/server-dpl.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/server-dpl.yml b/.github/workflows/server-dpl.yml index a22ae5c..348f9a2 100644 --- a/.github/workflows/server-dpl.yml +++ b/.github/workflows/server-dpl.yml @@ -56,6 +56,9 @@ jobs: slackingdjaeger/jagadis-server:latest slackingdjaeger/jagadis-server:${{ github.sha }} + - name: Update known_hosts file + run: ssh-keyscan -t rsa ${{ secrets.SSH_HOST }} >> $HOME/.ssh/known_hosts + - name: SSH to update .env, docker-compose.yml, and run migrations on the server uses: appleboy/ssh-action@master with: