From b1dc3c69529bfb541a4bee9f33f57d3cc9c512ac Mon Sep 17 00:00:00 2001 From: Morten Nordseth <43166974+mortennordseth@users.noreply.github.com> Date: Thu, 15 Aug 2024 08:51:02 +0200 Subject: [PATCH] feat: mapbox api token staging for fram (#321) --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6470d1ab..f409eb3a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -48,7 +48,7 @@ jobs: ATB_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL=${{ secrets.ATB_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL }} NFK_NEXT_PUBLIC_MAPBOX_API_TOKEN=${{ secrets.NFK_NEXT_PUBLIC_MAPBOX_API_TOKEN }} NFK_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL=${{ secrets.NFK_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL }} - FRAM_NEXT_PUBLIC_MAPBOX_API_TOKEN=${{ secrets.FRAM_NEXT_PUBLIC_MAPBOX_API_TOKEN }} + FRAM_NEXT_PUBLIC_MAPBOX_API_TOKEN=${{ github.event_name == 'release' && secrets.FRAM_NEXT_PUBLIC_MAPBOX_API_TOKEN || secrets.FRAM_NEXT_PUBLIC_MAPBOX_API_TOKEN_STAGING }} FRAM_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL=${{ secrets.FRAM_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL }} TROMS_NEXT_PUBLIC_MAPBOX_API_TOKEN=${{ secrets.TROMS_NEXT_PUBLIC_MAPBOX_API_TOKEN }} TROMS_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL=${{ secrets.TROMS_NEXT_PUBLIC_MAPBOX_STOP_PLACES_STYLE_URL }}