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