From 5fdaecdb7ef3d29ab91f654ac0cc2226c58cbf8d Mon Sep 17 00:00:00 2001 From: Murat Ugur Eminoglu Date: Wed, 21 Feb 2024 14:18:27 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 721d112d..0f17d245 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,7 +64,7 @@ jobs: - name: Connect and upload run: | - scp -r docs.tar ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}":" + scp -o StrictHostKeyChecking=no -r docs.tar ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}":" ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "find /home/antmedia.io/public_html/docs/ -type f -not -name "*.tar" -not -path "/home/antmedia.io/public_html/docs/.ssh/*" -exec rm {} \; && tar -zxvf docs.tar && rm -rf docs.tar"