From c425c11222134ee4b63d82f725979499e5a9613d Mon Sep 17 00:00:00 2001 From: seanzhangkx8 <106214464+seanzhangkx8@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:03:32 -0400 Subject: [PATCH] test resync adding known host (#233) --- .github/workflows/rsync-download-config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rsync-download-config.yml b/.github/workflows/rsync-download-config.yml index 6b018b39..daa6a009 100644 --- a/.github/workflows/rsync-download-config.yml +++ b/.github/workflows/rsync-download-config.yml @@ -10,7 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: rsync download config + + - name: Add server to known_hosts + run: ssh-keyscan -H ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts + + - name: Rsync download config uses: burnett01/rsync-deployments@master with: switches: -vzr