From 9cb75d422915036ecc1c5b43354014e845c1adcf Mon Sep 17 00:00:00 2001 From: Erik Magnusson Date: Wed, 2 Oct 2024 18:35:42 +0200 Subject: [PATCH] Screw it, it's a public key --- .github/workflows/firebase-hosting-merge.yml | 5 +---- .../firebase-hosting-pull-request.yml | 5 +---- frontend/src/lib/components/Map.svelte | 3 +-- frontend/static/favicon.png | Bin 699 -> 8430 bytes 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 502ac23..1dea0e1 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -28,11 +28,8 @@ jobs: cache-dependency-path: "frontend/pnpm-lock.yaml" - name: Install dependencies in Svelte subfolder run: pnpm install - - name: Make envfile - run: | - echo "PUBLIC_MAPTILER_KEY=${PUBLIC_MAPTILER_KEY}" > .env - name: Build in Svelte subfolder - run: pnpm --env-file=.env build + run: pnpm build - name: Check run: pnpm check diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 28dfa9e..4dffbef 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -25,11 +25,8 @@ jobs: cache-dependency-path: "frontend/pnpm-lock.yaml" - name: Install dependencies in Svelte subfolder run: pnpm install - - name: Make envfile - run: | - echo "PUBLIC_MAPTILER_KEY=${PUBLIC_MAPTILER_KEY}" > .env - name: Build in Svelte subfolder - run: pnpm --env-file=.env build + run: pnpm build - name: Check run: pnpm check diff --git a/frontend/src/lib/components/Map.svelte b/frontend/src/lib/components/Map.svelte index 069833f..fe34fc4 100644 --- a/frontend/src/lib/components/Map.svelte +++ b/frontend/src/lib/components/Map.svelte @@ -1,5 +1,4 @@