Skip to content

Commit

Permalink
Update pricing-pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeineb2001 authored Dec 27, 2024
1 parent 2982799 commit 8a771b6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pricing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ jobs:
run: |
sshpass -p "${{ secrets.DEPLOYMENT_MACHINE_USER_PSW }}" ssh ${{ secrets.DEPLOYMENT_MACHINE_USER }}@${{ secrets.DEPLOYMENT_MACHINE_IP }} \
"df -h && free -h && top -bn1 | grep 'Cpu(s)'"
- name: Kill Process on Port 8086 (if any)
run: |
sshpass -p "${{ secrets.DEPLOYMENT_MACHINE_USER_PSW }}" ssh ${{ secrets.DEPLOYMENT_MACHINE_USER }}@${{ secrets.DEPLOYMENT_MACHINE_IP }} \
"fuser -k 8086/tcp || echo 'No process on port 8086'"
- name: Deploy JAR to VPS
uses: appleboy/ssh-action@v0.1.2
with:
Expand Down

0 comments on commit 8a771b6

Please sign in to comment.