Skip to content

Commit c670757

Browse files
authored
Merge pull request #22 from coderdojo-japan/simplify-data-management
データ管理を簡素化: Jekyll の JSON サポートを活用
2 parents 39ff775 + f7aca94 commit c670757

File tree

9 files changed

+6
-11790
lines changed

9 files changed

+6
-11790
lines changed

.github/workflows/scheduler_daily.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
- name: ☯️ Cache dojo logos in Japan
5555
run: |
5656
bundle exec ruby cache_dojo_logos.rb
57-
bundle exec rake cache_data_as_yaml
5857
5958
- name: 📍 Generate DojoMap from Earth/Japan data
6059
run: |
@@ -72,11 +71,10 @@ jobs:
7271
git add Gemfile.lock
7372
7473
# Cache responses from Japan/Clubs APIs
75-
git add dojos_earth.json
74+
git add _data/dojos_earth.json
7675
git add dojos_japan.json
7776
git add events_japan.json
7877
git add images/dojos
79-
git add _data/earth.yml
8078
8179
# Save GeoJSON data to render DojoMap
8280
git add dojos.geojson

Rakefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ desc 'Get CoderDojo data on the Earth via Raspberry Pi Clubs API'
55
task(:get_data_from_earth) { ruby 'get_data_from_earth.rb' }
66
task(:get_data_from_japan) { ruby 'get_data_from_japan.rb' }
77
task(:cache_dojo_logos) { ruby 'cache_dojo_logos.rb' }
8-
task(:cache_data_as_yaml) { ruby 'cache_data_as_yaml.rb' }
98
task(:upsert_dojos_geojson) { ruby 'upsert_dojos_geojson.rb' }
109
task(:compact_geojson) { ruby 'compact_geojson.rb' }
1110

File renamed without changes.

0 commit comments

Comments
 (0)