Skip to content

fix: display extra amount above 100% #33

fix: display extra amount above 100%

fix: display extra amount above 100% #33

Workflow file for this run

name: HEAL
on:
push:
branches:
- heal
jobs:
deploy:
environment: heal
runs-on: [self-hosted, ors-map-client-heal]
steps:
- name: trigger branch name
run: echo ${GITHUB_REF_NAME}
- name: fetch repo state and prune remotes
working-directory: ${{ secrets.work_dir }}
run: git fetch --prune
- name: checkout trigger branch
working-directory: ${{ secrets.work_dir }}
run: git checkout --progress --force ${GITHUB_REF_NAME}
- name: hard reset to origin state
working-directory: ${{ secrets.work_dir }}
run: git reset --hard origin/${GITHUB_REF_NAME}
- name: copy example configs to config folder
working-directory: ${{ secrets.work_dir }}
run: cd src && cp config-examples/* config && for i in config/*-example.js; do mv -- "$i" "${i%-example.js}.js"; done
- name: Replace ORS API Key in app-config.js
working-directory: ${{ secrets.work_dir }}
run: |
cd src/config
secret_value="${{ secrets.ORS_API_KEY }}"
sed -i "s/'put-here-an-ors-api-key'/'$secret_value'/g" app-config.js
- name: build docker rebuild and restart
working-directory: ${{ secrets.work_dir }}
run: docker compose up --build --force-recreate -d