adding HowBadIsMyBatch.nbconvert.ipynb
This commit is contained in:
15
.github/workflows/buildAndDeployWebsite.yml
vendored
15
.github/workflows/buildAndDeployWebsite.yml
vendored
@@ -29,14 +29,15 @@ jobs:
|
||||
- name: Executing HowBadIsMyBatch.ipynb
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
git config --global user.email "Knoll_Frank@web.de"
|
||||
git config --global user.name "FK"
|
||||
ipython kernel install --user --name=howbadismybatch-venv-kernel
|
||||
cd src
|
||||
jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb
|
||||
jupyter nbconvert --to html HowBadIsMyBatch.nbconvert.ipynb
|
||||
- name: Archiving HowBadIsMyBatch.nbconvert.html
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: HowBadIsMyBatch.nbconvert.html
|
||||
path: src/HowBadIsMyBatch.nbconvert.html
|
||||
- name Pushing changes to GitHub Pages
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
git config --global user.email "Knoll_Frank@web.de"
|
||||
git config --global user.name "FK"
|
||||
git add -A
|
||||
git commit -m "updating data for batch codes"
|
||||
git push
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,7 +11,6 @@ docs/data/*.xlsx
|
||||
docs/data/*.html
|
||||
.env
|
||||
src/captchaImage.jpeg
|
||||
src/HowBadIsMyBatch.nbconvert.ipynb
|
||||
src/HowBadIsMyBatch.nbconvert.html
|
||||
src/__pycache__/
|
||||
src/intensivstationen/__pycache__/
|
||||
|
||||
@@ -97,37 +97,6 @@
|
||||
"source": [
|
||||
"createAndSaveBatchCodeTables(internationalVaersCovid19, minADRsForLethality=100)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "8de69f66",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def publishGitHubPages():\n",
|
||||
" ! git add -A\n",
|
||||
" ! git commit -m \"updating data for batch codes\"\n",
|
||||
" ! git push"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "3c7319f3",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### see https://knollfrank.github.io/HowBadIsMyBatch/batchCodeTable.html"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "865df645",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"publishGitHubPages()"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user