Skip to content

Commit

Permalink
Chore : Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouon committed Jan 1, 2024
1 parent be48e1d commit 583716f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,5 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
port: ${{secrets.PORT}}
script: |
sudo docker pull chatdiary/chatdiary-image:latest
sudo docker stop server
sudo docker run -d --rm --name server -p 8080:8080 growth123/test
sudo docker run -d --name server -p 8080:8080 chatdiary/chatdiary-image:latest
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package com.kuit.chatdiary.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

@ResponseBody
@GetMapping("/user")
public String user() {
return "user";
Expand Down

0 comments on commit 583716f

Please sign in to comment.