Scripts: fix overview-support for osm-community, switch server

This commit is contained in:
Pieter Vander Vennet 2025-01-27 03:14:19 +01:00
parent 90aa2f1fc1
commit 30604304eb
4 changed files with 23 additions and 9 deletions

View file

@ -22,11 +22,14 @@ jobs:
run: npm ci
shell: bash
- name: update community index files
- name: create community index files
shell: bash
run: npm run download:community-index -- -- community-index/
- name: upload community index
shell: bash
run: |
mkdir community-index
npm run download:community-index -- -- community-index/
zip community-index.zip community-index/*
scp community-index.zip hetzner:data/
ssh hetzner "cd data && rm -rf community-index/ && unzip community-index.zip && rm community-index.zip"