Skip to content

Commit

Permalink
Pass env variable to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Pelak committed Mar 19, 2024
1 parent c362d8f commit f4e46c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
env:
HTTP_BASIC_AUTH: ${{ secrets.HTTP_BASIC_AUTH }}
- name: Static HTML export with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next export
- name: Upload artifact
Expand Down

0 comments on commit f4e46c8

Please sign in to comment.