Skip to content

Commit

Permalink
Set GENERATE_SOURCEMAP=false
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Aug 9, 2024
1 parent d0842fd commit 73e1f40
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/frontend-tasking-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
TM_IMPORT_MAX_FILESIZE: 3e+06
AWS_S3_BUCKET: tasks-staging.openhistoricalmap.org
CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.STAGING_TM_CLOUDFRONT_DISTRIBUTION_ID }}
TM_SENTRY_BACKEND_DSN: https://xxx.ingest.sentry.io/1234567
TM_SENTRY_FRONTEND_DSN: https://xxx.ingest.sentry.io/8901234
- name: Set environment variables - Production
if: github.ref == 'refs/heads/main'
uses: allenevans/[email protected]
Expand All @@ -61,8 +59,6 @@ jobs:
TM_IMPORT_MAX_FILESIZE: 3e+06
AWS_S3_BUCKET: tasks.openhistoricalmap.org
CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.PRODUCTION_TM_CLOUDFRONT_DISTRIBUTION_ID }}
TM_SENTRY_BACKEND_DSN: https://xxx.ingest.sentry.io/1234567
TM_SENTRY_FRONTEND_DSN: https://xxx.ingest.sentry.io/8901234
- name: Checkout tasking-manager repo
uses: actions/checkout@v4
with:
Expand All @@ -80,7 +76,7 @@ jobs:

- name: npm Install
run: |
cd tasking-manager/frontend && npm install && npm run build
cd tasking-manager/frontend && npm install && GENERATE_SOURCEMAP=false npm run build
- name: Setup Python
uses: actions/setup-python@v2
Expand Down

0 comments on commit 73e1f40

Please sign in to comment.