Skip to content

Commit

Permalink
ci(github-actions): added env
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotsaha committed Jan 18, 2024
1 parent 5d75ba0 commit 51126be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
node-version: [18.x]

steps:
- name: Create .env file
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
Expand Down
2 changes: 2 additions & 0 deletions src/logs/combined.log
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,5 @@
{"level":"info","message":"Connected to MongoDB","service":"user-service"}
{"level":"info","message":"Connected to MongoDB","service":"user-service"}
{"level":"info","message":"Connected to MongoDB","service":"user-service"}
{"level":"info","message":"Connected to MongoDB","service":"user-service"}
{"level":"info","message":"Connected to MongoDB","service":"user-service"}

0 comments on commit 51126be

Please sign in to comment.