adding HowBadIsMyBatch.nbconvert.ipynb

This commit is contained in:
frankknoll
2023-01-15 22:39:21 +01:00
parent 10c293fd0b
commit 504f1b0fd7
3 changed files with 8 additions and 39 deletions

View File

@@ -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
View File

@@ -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__/

View File

@@ -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": {