Skip to content

Commit

Permalink
Merge pull request #1 from ayushsoni1010/deploy
Browse files Browse the repository at this point in the history
test: Logs and Test Deploy pipeline
  • Loading branch information
ayushsoni1010 committed Oct 17, 2023
2 parents 31faa89 + 565de29 commit 35bb144
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CI/CD: Build and Deploy app to Digital Ocean"

on:
push:
branches: ["deploy"]
branches: ["main"]

jobs:
build:
Expand All @@ -22,10 +22,6 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- name: Change to frontend directory
run: cd frontend
- name: Install frontend dependencies
run: npm install
- name: Build frontend app
run: npm run build --if-present
run: cd frontend && npm install && npm run build --if-present
- name: Start the application with pm2
run: pm2 start default
24 changes: 24 additions & 0 deletions logs/log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -990,4 +990,28 @@ New Log:
--> Method = POST
--> Path = /api/chart/generate
--> Body = NULL


New Log:
--> Date = 17/10/2023, 10:55:53 am
--> IP = ::1
--> Method = POST
--> Path = /api
--> Body = NULL


New Log:
--> Date = 17/10/2023, 10:55:59 am
--> IP = ::1
--> Method = POST
--> Path = /api
--> Body = NULL


New Log:
--> Date = 17/10/2023, 10:56:03 am
--> IP = ::1
--> Method = GET
--> Path = /api
--> Body = NULL

0 comments on commit 35bb144

Please sign in to comment.