Skip to content

Commit

Permalink
Update inventory-ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeineb2001 authored Dec 22, 2024
1 parent 29eb4f3 commit 00cc008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/inventory-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00cc008

Please sign in to comment.