-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
covid19-launchd
executable file
·32 lines (29 loc) · 1.41 KB
/
covid19-launchd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env bash
# run covid-19 files
# git add, comit and push
echo ">>> Running covid-19-data.ipynb ..."
papermill covid-19-data.ipynb ./latest/covid-19-data.ipynb
echo ">>> Running multiplot.ipynb ..."
papermill multiplot.ipynb ./latest/multiplot.ipynb
echo ">>> Running covid-19-matplotlib.ipynb ..."
papermill covid-19-matplotlib.ipynb ./latest/covid-19-matplotlib.ipynb
echo ">>> Running covid-19-matplotlib-logarithmic.ipynb ..."
papermill covid-19-matplotlib-logarithmic.ipynb ./latest/covid-19-matplotlib-logarithmic.ipynb
echo ">>> Running covid-19-plotly.ipynb ..."
papermill covid-19-plotly.ipynb ./latest/covid-19-plotly.ipynb
echo ">>> Running covid-19-plotly-logarithmic.ipynb ..."
papermill covid-19-plotly-logarithmic.ipynb ./latest/covid-19-plotly-logarithmic.ipynb
echo ">>> Running uk.ipynb ..."
papermill uk.ipynb ./latest/uk.ipynb
# echo ">>> Running data_scraping.ipynb ..."
# papermill data_scraping.ipynb ./latest/data_scraping.ipynb
echo ">>> Running uk-japan.ipynb ..."
papermill uk-japan.ipynb ./latest/uk-japan.ipynb
echo ">>> Running Dropdown-interactive.ipynb ..."
papermill Dropdown-interactive.ipynb ./latest/Dropdown-interactive.ipynb
now=$(date)
git add .
git commit -m "update at $now"
git push
terminal-notifier -title Covid19 -subtitle "Daily Updated" -message "Completed" -open "https://nbviewer.jupyter.org/github/shinokada/covid-19-stats/tree/master/latest/"
echo "launchd update completed at $now"