diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d197fe7..a38be1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,7 @@ env: DOKKU_REMOTE_URL: "ssh://dokku@ui-2.prod.codeforafrica.org/sensors-africa-ui" NEXT_PUBLIC_APP_URL: "https://sensors.africa" NEXT_PUBLIC_APP_API_BASE_URL: "https://api.sensors.africa/v2" + NEXT_PUBLIC_APP_MAP_URL: "https://v2.map.aq.sensors.africa/" IMAGE_NAME: "codeforafrica/sensors-africa-ui" VERSION_FILE_NAME: "package.json" @@ -85,6 +86,7 @@ jobs: build-args: | NEXT_PUBLIC_APP_URL=${{ env.NEXT_PUBLIC_APP_URL }} NEXT_PUBLIC_APP_API_BASE_URL=${{ env.NEXT_PUBLIC_APP_API_BASE_URL }} + NEXT_PUBLIC_APP_MAP_URL=${{ env.NEXT_PUBLIC_APP_MAP_URL }} GOOGLE_ANALYTICS_ID=${{ secrets.SENSORS_AFRICA_GA_ANALYTICS_ID }} API_TOKEN=${{ secrets.SENSORS_AFRICA_API_TOKEN }} cache-from: type=local,src=/tmp/.buildx-cache diff --git a/Dockerfile b/Dockerfile index 6bf4168..17b07a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,12 +38,14 @@ COPY . . ARG NEXT_TELEMETRY_DISABLED\ NEXT_PUBLIC_APP_URL \ NEXT_PUBLIC_APP_API_BASE_URL \ + NEXT_PUBLIC_APP_MAP_URL \ GOOGLE_ANALYTICS_ID \ API_TOKEN ENV NEXT_TELEMETRY_DISABLED=${NEXT_TELEMETRY_DISABLED}\ NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL} \ NEXT_PUBLIC_APP_API_BASE_URL=${NEXT_PUBLIC_APP_API_BASE_URL} \ + NEXT_PUBLIC_APP_MAP_URL=${NEXT_PUBLIC_APP_MAP_URL} \ GOOGLE_ANALYTICS_ID=${GOOGLE_ANALYTICS_ID} \ API_TOKEN=${API_TOKEN} diff --git a/package.json b/package.json index b720781..8544943 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sensors.africa", "description": "sensors.AFRICA", - "version": "0.4.30", + "version": "0.4.31", "private": true, "main": "index.js", "homepage": "https://sensors.africa/",