Skip to content

Commit

Permalink
fixed artifact path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
muskangupta042002 committed Sep 10, 2023
1 parent 88eaeb1 commit 1c15331
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/BuildAndTestSource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: actions/download-artifact@v2
with:
name: springrolls
path: ${{ secrets.JAR_FILE }}
path: .
- name: Deploy to EC2
if: github.event.pull_request.merged == true
run: |
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# springrolls
# springrolls
[![Build Test and Deploy](https://github.com/muskangupta042002/springrolls/actions/workflows/BuildAndTestSource.yml/badge.svg)](https://github.com/muskangupta042002/springrolls/actions/workflows/BuildAndTestSource.yml)
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class GreetingController {

@GetMapping("/greeting")
public String greeting(@RequestParam(name="name", required=false, defaultValue="World!") String name, Model model) {
public String greeting(@RequestParam(name="name", required=false, defaultValue="World") String name, Model model) {
model.addAttribute("name", name);
return "greeting";
}
Expand Down

0 comments on commit 1c15331

Please sign in to comment.