Skip to content

Commit ba16b84

Browse files
committed
add build variable
1 parent 7566ea6 commit ba16b84

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
NEXT_PUBLIC_URI=${{ vars.NEXT_PUBLIC_URI }}
4949
INTERNAL_JWT_SECRET=${{ secrets.INTERNAL_JWT_SECRET }}
5050
URI_GITRANKS=${{ vars.URI_GITRANKS }}
51+
URI_GITRANKS_BUILD=${{ secrets.URI_GITRANKS_BUILD }}
5152
5253
# 4. SSH to droplet and deploy
5354
- name: SSH to droplet and deploy

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ ENV INTERNAL_JWT_SECRET=$INTERNAL_JWT_SECRET
2424
ARG URI_GITRANKS
2525
ENV URI_GITRANKS=$URI_GITRANKS
2626

27+
ARG URI_GITRANKS_BUILD
28+
ENV URI_GITRANKS_BUILD=$URI_GITRANKS_BUILD
29+
2730
WORKDIR /app
2831
COPY --from=deps /app/node_modules ./node_modules
2932
COPY . .

lib/signed-fetch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
'use server';
2+
23
import jwt from 'jsonwebtoken';
34

45
export async function signedFetch(path: string, init: RequestInit = {}) {

0 commit comments

Comments
 (0)