Skip to content

Commit

Permalink
adds NEXT_PUBLIC_MAPBOX_API_TOKEN to deploy.yml and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Oct 21, 2024
1 parent 0ded93f commit b30f8eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
NEXT_PUBLIC_API_URL=${{ vars.NEXT_PUBLIC_API_URL }}
NEXTAUTH_URL=${{ vars.NEXTAUTH_URL }}
NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET }}
NEXT_PUBLIC_MAPBOX_API_TOKEN=${{ secrets.NEXT_PUBLIC_MAPBOX_API_TOKEN }}
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down
2 changes: 2 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ FROM node:22.2.0-alpine
ARG NEXT_PUBLIC_API_URL
ARG NEXTAUTH_SECRET
ARG NEXTAUTH_URL
ARG NEXT_PUBLIC_MAPBOX_API_TOKEN

ENV NEXT_PUBLIC_API_URL $NEXT_PUBLIC_API_URL
ENV NEXTAUTH_SECRET $NEXTAUTH_SECRET
ENV NEXTAUTH_URL $NEXTAUTH_URL
ENV NEXT_PUBLIC_MAPBOX_API_TOKEN $NEXT_PUBLIC_MAPBOX_API_TOKEN

WORKDIR /app

Expand Down

0 comments on commit b30f8eb

Please sign in to comment.