Skip to content

Commit d0952fe

Browse files
authored
Update main.yml
1 parent c107d91 commit d0952fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v2
1515

16+
- name: Create .env file
17+
run: |
18+
echo JWT_SECRET=${{ secrets.JWT_SECRET }} >> .env
19+
echo MONGO_URI=${{ secrets.MONGO_URI }} >> .env
20+
echo PORT=${{ vars.PORT }} >> .env
21+
1622
- name: Show project directory
1723
run: ls -al
1824

0 commit comments

Comments
 (0)