File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 44 paths :
55 - .github/workflows/update.yml
66 - scripts/make-places.js
7+ - scripts/make-config.js
78 schedule :
89 - cron : 0 0 * * *
910permissions :
3031 curl "https://docs.google.com/spreadsheets/d/1e7A-maXjmzd0lRcpZpeqjOmfRTZUZMOaxSYQaz_sr8I/gviz/tq?tqx=out:csv&sheet=translations" -o "raw-data/translations.csv"
3132 - name : Process data
3233 run : |-
33- git diff --quiet raw-data/ || deno run --allow-read --allow-write --unstable scripts/make-places.js
34+ git diff --quiet raw-data/ \
35+ || deno run --allow-read --allow-write --unstable scripts/make-places.js \
36+ && deno run --allow-read --allow-write --unstable scripts/make-config.js
3437 - name : Commit changes
3538 run : |-
3639 git config user.name "github action"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const config = {};
99
1010for ( const key of keys ) {
1111 const path = `raw-data/${ key } .csv` ;
12+
1213 console . log ( `Reading ${ path } ` ) ;
1314 const data = csvParse ( await readTXT ( path ) , autoType ) ;
1415
You can’t perform that action at this time.
0 commit comments