forked from MapComplete/MapComplete
Scripts: automatically download statistics every day and upload them
This commit is contained in:
parent
5b5e26ab63
commit
d844434267
1 changed files with 8 additions and 0 deletions
|
@ -29,4 +29,12 @@ jobs:
|
||||||
zip community-index.zip community-index/*
|
zip community-index.zip community-index/*
|
||||||
scp community-index.zip hetzner:data/
|
scp community-index.zip hetzner:data/
|
||||||
ssh hetzner "cd data && rm -rf community-index/ && unzip community-index.zip && rm community-index.zip"
|
ssh hetzner "cd data && rm -rf community-index/ && unzip community-index.zip && rm community-index.zip"
|
||||||
|
|
||||||
|
|
||||||
|
- name: Update statistics
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
scp -r hetzner:~/data/changeset-metadata/ .
|
||||||
|
npm run download:stats -- -- ./changeset-metadata/
|
||||||
|
scp -r ./changeset-metadata/* hetnzer:~/data/changeset-metadata/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue