Skip to content

Commit 81e4a24

Browse files
authored
fix: app loading (because of service-worker hash) (#2601)
1 parent e39728f commit 81e4a24

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/pull-request-update-or-push-tag.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,6 @@ jobs:
214214
run: |
215215
npm install -g @sentry/cli
216216
217-
- name: Inject Sentry debug information
218-
run: |
219-
sentry-cli sourcemaps inject ./tmp/build/${{ env.PLATFORM_PAIR }}/dist
220-
221217
- name: Build Image and push by digest
222218
id: build-image
223219
uses: docker/build-push-action@v6

build/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ RUN sed -i "s/appVersion: \".*\"/appVersion: \"$APP_VERSION\"/g" src/environment
9999
RUN node build/prepare-translation-files.js
100100
RUN npm run build
101101

102-
RUN if [ "$INJECT_DEBUG_INFORMATION" = true ] ; then \
103-
npm install -g @sentry/cli && \
104-
sentry-cli sourcemaps inject ./dist ; fi
102+
RUN npm install -g @sentry/cli && sentry-cli sourcemaps inject ./dist
103+
RUN ./node_modules/.bin/ngsw-config dist ngsw-config.json
105104

106105

107106
FROM scratch AS dist-build

0 commit comments

Comments
 (0)