Skip to content

Commit

Permalink
set email service keys
Browse files Browse the repository at this point in the history
  • Loading branch information
vktrbrlv committed Nov 18, 2024
1 parent 7dc06fa commit 7616b3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NODE_ENV=production
6 changes: 6 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set env variables
run: |
echo "NEXT_PUBLIC_EMAIL_PUBLIC_KEY=${{ secrets.NEXT_PUBLIC_EMAIL_PUBLIC_KEY }}" >> .env
echo "NEXT_PUBLIC_EMAIL_SERVICE_ID=${{ secrets.NEXT_PUBLIC_EMAIL_SERVICE_ID }}" >> .env
echo "NEXT_PUBLIC_EMAIL_TEMPLATE_ID=${{ secrets.NEXT_PUBLIC_EMAIL_TEMPLATE_ID }}" >> .env
- name: Detect package manager
id: detect-package-manager
run: |
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
.env

0 comments on commit 7616b3a

Please sign in to comment.