Skip to content

Commit 425a3b0

Browse files
committed
more secret changes
1 parent dd3d98e commit 425a3b0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,9 @@ jobs:
329329
CMS_ADMIN_HOST=${{ fromJSON('["pastaporto-", ""]')[github.ref == 'refs/heads/main'] }}admin.pycon.it
330330
CMS_HOSTNAME=${{ steps.vars.outputs.cms_hostname }}
331331
CONFERENCE_CODE=${{ steps.vars.outputs.conference_code }}
332-
SENTRY_AUTH_TOKEN=${{ steps.vars.outputs.sentry_auth_token }}
333332
GIT_HASH=${{ steps.git.outputs.githash }}
333+
secrets: |
334+
"sentry_auth_token=${{ steps.vars.outputs.sentry_auth_token }}"
334335
335336
deploy-fe:
336337
runs-on: ubuntu-24.04

frontend/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ WORKDIR /app
2424
COPY --from=deps /app/node_modules ./node_modules
2525
COPY . .
2626

27-
RUN corepack enable pnpm && pnpm run build
27+
RUN corepack enable pnpm
28+
RUN --mount=type=secret,id=sentry_auth_token,env=SENTRY_AUTH_TOKEN \
29+
pnpm run build
2830

2931
FROM base AS runner
3032
WORKDIR /app

0 commit comments

Comments
 (0)