Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
added deployment step
  • Loading branch information
pratiksh21 authored Oct 29, 2023
1 parent 1077007 commit c494a95
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -B package --file Blogging-App/pom.xml
- name: Execute Jar file
run: sudo kill -9 `sudo lsof -t -i:8080` & sudo java -jar /home/ubuntu/actions-runner/_work/BloggingPlatform-App/Blogging-App/target/Blogging-App-0.0.1-SNAPSHOT.jar &

- name: Execute Jar file
run: sudo kill -9 `sudo lsof -t -i:8080` & sudo java -jar /home/ubuntu/actions-runner/_work/BloggingPlatform-App/BloggingPlatform-App/Blogging-App/target/Blogging-App-0.0.1-SNAPSHOT.jar &

0 comments on commit c494a95

Please sign in to comment.