forked from MapComplete/MapComplete
25 lines
531 B
YAML
25 lines
531 B
YAML
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 2 1 * *"
|
|
|
|
jobs:
|
|
update_nsi_logos:
|
|
runs-on: [ ubuntu-latest, hetzner-access ]
|
|
steps:
|
|
- uses: https://source.mapcomplete.org/actions/checkout@v4
|
|
- uses: ./.forgejo/setup
|
|
|
|
- name: init
|
|
shell: bash
|
|
run: 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: "/root/data/nsi"
|
|
|