Skip to content

Commit

Permalink
Update search-ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeineb2001 authored Dec 13, 2024
1 parent bc85878 commit 0b9e5f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/search-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
run: |
mkdir -p ~/.ssh
ssh-keyscan -H ${{ secrets.DEPLOYMENT_MACHINE_IP }} >> ~/.ssh/known_hosts
- name: Check if service-search directory exists on VPS
run: |
sshpass -p "${{ secrets.DEPLOYMENT_MACHINE_USER_PSW }}" ssh ${{ secrets.DEPLOYMENT_MACHINE_USER }}@${{ secrets.DEPLOYMENT_MACHINE_IP }} "if [ ! -d ~/service-search ]; then mkdir ~/service-search; fi"
- name: Transfer JAR to VPS
run: |
Expand Down

0 comments on commit 0b9e5f8

Please sign in to comment.