Merge develop

This commit is contained in:
Pieter Vander Vennet 2025-04-29 03:27:54 +02:00
commit 449d3af7f1
25582 changed files with 2686 additions and 4212029 deletions

View file

@ -21,3 +21,6 @@ runs:
run: npm ci
shell: bash
- name: sync translations
run: mkdir src/assets/generated && npm run generate:translations
shell: bash

View file

@ -15,9 +15,10 @@ runs:
shell: bash
run: |
F=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 16)
zip $F.zip ${{ inputs.src }}/*
scp $F.zip hetzner:${{ inputs.dst }}/
ssh hetzner "cd ${{ inputs.dst }} unzip $F.zip && rm $F.zip"
cd ${{ inputs.src }}
zip $F.zip -r ./*
scp $F.zip hetzner:${{ inputs.dst }}/$F.zip
ssh hetzner "cd ${{ inputs.dst }} && unzip $F.zip && rm $F.zip"

View file

@ -7,6 +7,7 @@ jobs:
create_community_index:
runs-on: [ ubuntu-latest, hetzner-access ]
steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4
- uses: ./.forgejo/setup
- name: create community index files
@ -24,7 +25,7 @@ jobs:
runs-on: [ ubuntu-latest, hetzner-access ]
steps:
- uses: https://source.mapcomplete.org/actions/checkout@v4
- uses: ./.forgejo/snippets/setup
- uses: ./.forgejo/setup
- name: Update statistics
shell: bash

View file

@ -20,10 +20,6 @@ jobs:
run: npm run generate:licenses; npm run generate:images; npm run generate:charging-stations; npm run generate:service-worker; npm run download:editor-layer-index
shell: bash
- name: sync translations
run: npm run generate:translations
shell: bash
- name: Prepare build
run: npm run generate:service-worker && ./scripts/prepare-build.sh
shell: bash

View file

@ -10,12 +10,16 @@ jobs:
- uses: https://source.mapcomplete.org/actions/checkout@v4
- uses: ./.forgejo/setup
- name: Download the NSI-logos
- name: init
shell: bash
run: npm run download:nsi-logos
run: mkdir -p src/assets/generated/ && mkdir -p public/assets/data/nsi/stats/ && npm run init
- name: Download the latest NSI
shell: bash
run: npm run download:nsi
- uses: ./.forgejo/upload_hetzner
with:
src: "./public/assets/data/nsi"
dst: "nsi"
dst: "/root/data/nsi"