Skip to content

Commit b11888f

Browse files
committed
Attempt to get source map build working
1 parent c247570 commit b11888f

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jobs:
2323
permissions:
2424
contents: read
2525
packages: write
26-
# This is used to complete the identity challenge
27-
# with sigstore/fulcio when running outside of PRs.
28-
id-token: write
2926

3027
steps:
3128
- name: Checkout repository

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ COPY --from=build-frontend-deps /tmp/frontend/node_modules /tmp/frontend/node_mo
5151
WORKDIR /tmp/frontend
5252

5353
RUN ["npx", "openapi-typescript", "/tmp/openapi.json", "-o", "src/api/schema.d.ts"]
54+
55+
ARG SENTRY_AUTH_TOKEN=""
56+
ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
5457
RUN ["npm", "run", "build"]
5558

5659
FROM python:3.12-slim-bookworm as production

frontend/index.html

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6-
<meta name="viewport" content="initial-scale=1, width=device-width" />
7-
8-
<title>Vite + React + TS</title>
9-
</head>
10-
<body>
11-
<div id="root"></div>
12-
<script type="module" src="/src/main.tsx"></script>
13-
</body>
14-
</html>
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
7+
<meta name="viewport" content="initial-scale=1, width=device-width" />
8+
9+
<title>Vite + React + TS</title>
10+
</head>
11+
12+
<body>
13+
<div id="root"></div>
14+
<script type="module" src="/src/main.tsx"></script>
15+
</body>
16+
17+
</html>

0 commit comments

Comments
 (0)