From 59fb9f12e217221781e690c767f4cb4df2af3f77 Mon Sep 17 00:00:00 2001 From: Monzurul Islam Date: Wed, 28 Jun 2023 23:32:51 +0900 Subject: [PATCH] asdf --- .github/workflows/go.yml | 3 ++- main.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2bc4772..10a971a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -36,4 +36,5 @@ jobs: cd /var/www/thesarus-scrapper git pull origin main sudo go build -o main - sudo service thesaurus restart + # sudo service thesaurus restart + sudo pm2 restart thesaurus-scrapper diff --git a/main.go b/main.go index 074383c..a56693b 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ func main() { r.GET("/",func(c *gin.Context) { c.JSON(http.StatusOK, gin.H{ - "message": "hello there", + "message": "hello there.", }) })