From a8ea0e7a0a5950dae50b140e0e186b940e3bf7ce Mon Sep 17 00:00:00 2001 From: ZeinebMESSAOUDI <130365664+Zeineb2001@users.noreply.github.com> Date: Wed, 25 Dec 2024 17:19:57 +0100 Subject: [PATCH] Update rating-ci-cd.yml --- .github/workflows/rating-ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rating-ci-cd.yml b/.github/workflows/rating-ci-cd.yml index ed3ca498..26d156ea 100644 --- a/.github/workflows/rating-ci-cd.yml +++ b/.github/workflows/rating-ci-cd.yml @@ -64,7 +64,7 @@ jobs: - name: Transfer JAR to VPS run: | - sshpass -p "${{ secrets.DEPLOYMENT_MACHINE_USER_PSW }}" scp service-rating.jar \ + sshpass -p "${{ secrets.DEPLOYMENT_MACHINE_USER_PSW }}" scp rating-0.0.1-SNAPSHOT.jar \ ${{ secrets.DEPLOYMENT_MACHINE_USER }}@${{ secrets.DEPLOYMENT_MACHINE_IP }}:~/service-rating.jar - name: Verify if the JAR file exists on the VPS