adding publish() function
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"import numpy as np\n",
|
|
||||||
"import pandas as pd\n",
|
"import pandas as pd\n",
|
||||||
"from urllib import request\n",
|
"from urllib import request\n",
|
||||||
"\n",
|
"\n",
|
||||||
@@ -388,6 +387,30 @@
|
|||||||
"for kreis in kreisValues:\n",
|
"for kreis in kreisValues:\n",
|
||||||
" getAndPersistIntensiveCareBeds(timeSeries, kreis)"
|
" getAndPersistIntensiveCareBeds(timeSeries, kreis)"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"id": "0218cdb4",
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"def publish():\n",
|
||||||
|
" %cd \"/home/frankknoll/Dokumente/Corona/projects/HowBadIsMyBatch-publish\"\n",
|
||||||
|
" ! git checkout pages\n",
|
||||||
|
" ! git merge main\n",
|
||||||
|
" ! git push"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"id": "5f173c2b",
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"publish()"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|||||||
Reference in New Issue
Block a user