From 93e1c7767cf2501e42cd7b00cdc7a220f176b74b Mon Sep 17 00:00:00 2001 From: Frank Knoll Date: Thu, 25 Apr 2024 13:16:15 +0200 Subject: [PATCH] argh!!! --- .github/workflows/buildAndDeployWebsite.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildAndDeployWebsite.yml b/.github/workflows/buildAndDeployWebsite.yml index a0d9f63cb9b..6011d980b8f 100644 --- a/.github/workflows/buildAndDeployWebsite.yml +++ b/.github/workflows/buildAndDeployWebsite.yml @@ -45,7 +45,7 @@ jobs: # jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb # jupyter nbconvert --to html HowBadIsMyBatch.nbconvert.ipynb git add -A - git commit -m "updating data for batch codes" + git diff-index --quiet HEAD || git commit -m "updating data for batch codes" - name: Executing Intensivstationen.ipynb shell: bash -el {0} run: | @@ -53,7 +53,7 @@ jobs: DATAWRAPPER_API_TOKEN=${{ secrets.DATAWRAPPER_API_TOKEN }} jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute Intensivstationen.ipynb jupyter nbconvert --to html Intensivstationen.nbconvert.ipynb git add -A - git commit -m "updating data for Intensivstationen" + git diff-index --quiet HEAD || git commit -m "updating data for Intensivstationen" - name: Pushing changes to GitHub Pages shell: bash -el {0} run: |