From f3129cedcdbf05c6770453815c203b63ffd03ae3 Mon Sep 17 00:00:00 2001 From: Samil Date: Mon, 29 Jan 2024 15:27:18 +0545 Subject: [PATCH] next --- .github/workflows/run-server.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-server.yml b/.github/workflows/run-server.yml index 5c64641..4aed725 100644 --- a/.github/workflows/run-server.yml +++ b/.github/workflows/run-server.yml @@ -18,8 +18,8 @@ jobs: with: key: ${{ secrets.SSH_PRIVATE_KEY }} known_hosts: 'test' - - name: Adding Known Hosts - run: ssh-keyscan -H ${{ secrets.REMOTE_HOST }} >> ~/.ssh/known_hosts + # - name: Adding Known Hosts + # run: ssh-keyscan -H ${{ secrets.REMOTE_HOST }} >> ~/.ssh/known_hosts - name: Update Git code on the servers run: | @@ -27,7 +27,7 @@ jobs: - name: Install dependencies run: | - ssh ${{ secrets.REMOTE_USERNAME }}@${{ secrets.REMOTE_HOST }} "cd /home/ubuntu/devops_class/all_in_docker && npm install" + ssh ${{ secrets.REMOTE_USERNAME }}@${{ secrets.REMOTE_HOST }} "cd /home/ubuntu/devops_class/all_in_docker/client && npm install" - name: Start the Node.js application run: |