diff --git a/.github/workflows/buildAndDeployWebsite.yml b/.github/workflows/buildAndDeployWebsite.yml index f34806413b9..9c6ee0bba31 100644 --- a/.github/workflows/buildAndDeployWebsite.yml +++ b/.github/workflows/buildAndDeployWebsite.yml @@ -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 diff --git a/.gitignore b/.gitignore index 6f8952ce1f2..8ba3189c176 100644 --- a/.gitignore +++ b/.gitignore @@ -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__/ diff --git a/src/HowBadIsMyBatch.ipynb b/src/HowBadIsMyBatch.ipynb index 43a066b2c8a..f81388a2c8e 100644 --- a/src/HowBadIsMyBatch.ipynb +++ b/src/HowBadIsMyBatch.ipynb @@ -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": {