Skip to content

Commit

Permalink
Fix env file frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
vectornguyen76 committed Dec 1, 2023
1 parent 41168a6 commit d568734
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/development_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,9 @@ jobs:

- name: Add env variable to env file
run: |
torch ./frontend/.env.production
echo GOOGLE_CLIENT_ID=${{ env.GOOGLE_CLIENT_ID }} >> .env
echo GOOGLE_CLIENT_SECRET=${{ env.GOOGLE_CLIENT_SECRET }} >> .env
echo NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }} >> .env
echo GOOGLE_CLIENT_ID=${{ env.GOOGLE_CLIENT_ID }} >> .env.production
echo GOOGLE_CLIENT_SECRET=${{ env.GOOGLE_CLIENT_SECRET }} >> .env.production
echo NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }} >> .env.production
- name: Build and push frontend image
uses: docker/build-push-action@v4
Expand Down

0 comments on commit d568734

Please sign in to comment.