From cb19dd864cafb7efdeba9f3998dbc8ce0efbb6e3 Mon Sep 17 00:00:00 2001 From: ekkelenkamp Date: Tue, 1 Oct 2024 15:31:09 +0200 Subject: [PATCH] added fews map test application. --- .github/workflows/npm-deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/npm-deploy.yml b/.github/workflows/npm-deploy.yml index ff7d9f29..d3414b2d 100644 --- a/.github/workflows/npm-deploy.yml +++ b/.github/workflows/npm-deploy.yml @@ -54,6 +54,21 @@ jobs: skip_app_build: true azure_static_web_apps_api_token: ${{ secrets.RIVIEREN_APP_AZURE_STATIC_WEB_APP_TOKEN }} + + - name: Create the app-config.json file for the FEWS Map App + run: | + rm dist/app-config.json + echo "${{ vars.FEWS_MAP_APP_CONFIG_JSON_BASE64 }}" | base64 --decode > dist/app-config.json + shell: bash + - name: Deploy Azure Static Web Apps FEWS Map + uses: Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9 + with: + action: 'upload' + app_location: '/dist' + api_location: '' + skip_app_build: true + azure_static_web_apps_api_token: ${{ secrets.FEWS_MAP_APP_AZURE_STATIC_WEB_APP_TOKEN }} + - name: Overwrite the app-config.json file for IWP Public App run: | rm dist/app-config.json