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 451e35f commit 1659c92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/search-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: service-search.jar
path: search/target/*.jar
path: search/target/service-search.jar

deploy:
runs-on: ubuntu-latest
Expand All @@ -46,11 +46,11 @@ jobs:
uses: actions/download-artifact@v3
with:
name: service-search.jar
path: ./
path: c

- name: Verify if the correct JAR file exists
run: |
ls ./service-search-*.jar || (echo "JAR file not found!" && exit 1)
ls search/target/service-search.jar || (echo "JAR file not found!" && exit 1)
- name: Add Server to Known Hosts
run: |
Expand Down

0 comments on commit 1659c92

Please sign in to comment.