fix: display extra amount above 100% #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |