Skip to content

Commit

Permalink
Merge pull request #1021 from Deltares/weboc-fews-map
Browse files Browse the repository at this point in the history
added fews map test application.
  • Loading branch information
ekkelenkamp authored Oct 1, 2024
2 parents 4b0b297 + cb19dd8 commit 197cae8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/npm-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 197cae8

Please sign in to comment.