Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
- name: Build
working-directory: frontend
run: npm run build
env:
NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY: ${{ secrets['WEB3FORMS_ACCESS_KEY'] }}

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
Expand Down
5 changes: 5 additions & 0 deletions frontend/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ ENV NEXT_TELEMETRY_DISABLED=1
ARG NEXT_PUBLIC_MAINTENANCE_MODE=false
ENV NEXT_PUBLIC_MAINTENANCE_MODE=$NEXT_PUBLIC_MAINTENANCE_MODE

# Web3Forms access key for the contact form. Inlined at build time, so pass
# with --build-arg NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY=...
ARG NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY
ENV NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY=$NEXT_PUBLIC_WEB3FORMS_ACCESS_KEY

# Build Next.js application
RUN --mount=type=cache,target=/app/.next/cache \
npm run build;
Expand Down
Loading