Skip to content

Commit

Permalink
Update nextjs.yml to include Secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcjy authored Sep 3, 2024
1 parent 571691a commit b493dd0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ jobs:
- name: Add export configuration
run: sed -i 's/\/\/ //g' next.config.mjs
- name: Build with Next.js
env:
API_KEY: ${{ secrets.API_KEY }}
APP_ID: ${{ secrets.APP_ID }}
AUTH_DOMAIN: ${{ secrets.AUTH_DOMAIN }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
MEASUREMENT_ID: ${{ secrets.MEASUREMENT_ID }}
MESSAGING_SENDER_ID: ${{ secrets.MESSAGING_SENDER_ID }}
PROJECT_ID: ${{ secrets.PROJECT_ID }}
RECAPTCHA_SITE_KEY: ${{ secrets.RECAPTCHA_SITE_KEY }}
STORAGE_BUCKET: ${{ secrets.STORAGE_BUCKET }}
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit b493dd0

Please sign in to comment.