From d32ad506d4a056cf8b6638301a5ee8e6b5a457bf Mon Sep 17 00:00:00 2001 From: Muzaffar khan <41264014+muzafferjoya@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:13:23 +0530 Subject: [PATCH] Update prod-build-deploy.yml --- .github/workflows/prod-build-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prod-build-deploy.yml b/.github/workflows/prod-build-deploy.yml index 47669371..8cf39182 100644 --- a/.github/workflows/prod-build-deploy.yml +++ b/.github/workflows/prod-build-deploy.yml @@ -38,7 +38,7 @@ jobs: run: ssh-keyscan -p ${{ secrets.SSH_PORT}} -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts - name: Copy Build Artifact using Rsync - run: rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" shiksha-ui.tar ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/home/ubuntu/shiksha-ui.tar + run: rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" shiksha-ui.tar ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/root/shiksha-ui.tar - name: Unzip Artifact to Correct Locations to Deploy uses: appleboy/ssh-action@master