Skip to content

Commit

Permalink
add env file to build action
Browse files Browse the repository at this point in the history
  • Loading branch information
slawton3 committed Apr 21, 2024
1 parent 0e4a187 commit 106177b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ jobs:
- name: Check out repository code 🛎️
uses: actions/checkout@v4

- name: Create env file 📝
run: |
touch .env
echo DATABASE_URL=${{ secrets.DATABASE_URL }} >> .env
echo RESEND_API_KEY=${{ secrets.RESEND_API_KEY }} >> .env
echo CLERK_SECRET_KEY=${{ secrets.CLERK_SECRET_KEY }} >> .env
echo NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=${{ secrets.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY }} >> .env
echo NEXT_PUBLIC_APP_URL=${{ secrets.NEXT_PUBLIC_APP_URL }} >> .env
- name: Set up Docker Buildx 🚀
uses: docker/setup-buildx-action@v3

Expand Down

0 comments on commit 106177b

Please sign in to comment.