issues
search
hiroyuki-ichikawa
/
fujicity_covid19
富士市版新型コロナ対策サイト
MIT License
1
stars
6
forks
source link
add data update workflow
#43
Closed
hrsano645
closed
3 years ago
hrsano645
commented
3 years ago
👏 解決する issue / Resolved Issues
close #42
📝 関連する issue / Related Issues
https://github.com/aktnk/covid19/issues/54
https://github.com/hiroyuki-ichikawa/covid19/pull/158
https://github.com/hrsano645/covid19-gen-datajson-shizuokapref/pull/56
⛏ 変更内容 / Details of Changes
静岡県側のデータ更新ワークフローを富士市版の対策サイトにも導入します
20時の定期更新を実行
GitHub Actionsが障害などで動作しなかった場合に備えて手動でデータ更新も可能です(workflow_dispatchトリガーを使ってます)
データ生成スクリプトはmasterブランチを利用
このPR作成時現在で、news.jsonの生成も行います。対策サイトにある「最新のお知らせ」にも対応します ->
https://github.com/hrsano645/covid19-gen-datajson-shizuokapref/issues/10
スクリプトの実行時に地域名指定を行うことで、富士市版のデータ生成を行っています ->
https://github.com/hrsano645/covid19-gen-datajson-shizuokapref/pull/56
該当のスクリプト実行箇所:
https://github.com/hiroyuki-ichikawa/fujicity_covid19/pull/43/files#diff-1efde5582e21d4c26011e431af354e82b4a894de45bdd138dd8352bbec869833R41
hrsano645
commented
3 years ago
ありがとうございます。マージしました!今日の20時更新から最新のお知らせの更新も行われます。
👏 解決する issue / Resolved Issues
📝 関連する issue / Related Issues
⛏ 変更内容 / Details of Changes