From 4374f9a59898ab8bed53993009fb40272d704a47 Mon Sep 17 00:00:00 2001 From: zillionme <100172683+zillionme@users.noreply.github.com> Date: Tue, 29 Aug 2023 19:32:20 +0000 Subject: [PATCH] Update backend_dev_merge_workflow.yml --- .github/workflows/backend_dev_merge_workflow.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/backend_dev_merge_workflow.yml b/.github/workflows/backend_dev_merge_workflow.yml index 9154db027..be5eb4c32 100644 --- a/.github/workflows/backend_dev_merge_workflow.yml +++ b/.github/workflows/backend_dev_merge_workflow.yml @@ -12,8 +12,12 @@ jobs: uses: webfactory/ssh-agent@v0.5.0 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} + + - name: Add GitHub to known hosts + run: ssh-keyscan github.com >> ~/.ssh/known_hosts - name: deploy run: | cd /home/ubuntu + sudo chmod +x ./deploy.sh sudo ./deploy.sh