From 00cc0086222fb56230e964145deb4c41d73a214a Mon Sep 17 00:00:00 2001 From: ZeinebMESSAOUDI <130365664+Zeineb2001@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:27:05 +0100 Subject: [PATCH] Update inventory-ci-cd.yml --- .github/workflows/inventory-ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/inventory-ci-cd.yml b/.github/workflows/inventory-ci-cd.yml index 10f23c3b..246c7fbe 100644 --- a/.github/workflows/inventory-ci-cd.yml +++ b/.github/workflows/inventory-ci-cd.yml @@ -59,7 +59,7 @@ jobs: - name: Transfer JAR to VPS run: | - sshpass -p "${{ secrets.DEPLOYMENT_MACHINE_USER_PSW }}" scp inventory/inventory-service/target/inventory-service-1.0.0-SNAPSHOT.jar \ + sshpass -p "${{ secrets.DEPLOYMENT_MACHINE_USER_PSW }}" scp ./inventory-service-1.0.0-SNAPSHOT.jar \ ${{ secrets.DEPLOYMENT_MACHINE_USER }}@${{ secrets.DEPLOYMENT_MACHINE_IP }}:~/inventory-service/service-inventory.jar - name: Verify if the JAR file exists on the VPS