From 9abf1b427364fb17ec1bfe049729d8403e44ab23 Mon Sep 17 00:00:00 2001 From: Martin Schobben Date: Thu, 18 Jul 2024 16:41:47 +0200 Subject: [PATCH] read --- .github/workflows/publish.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f49d0b9..dd0ad9c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -38,6 +38,7 @@ jobs: ~/.local/share/jupyter/kernels /usr/share/miniconda/envs key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('chapters/*.yml') }} + restore-keys: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}- - name: Render and Publish id: setup-python @@ -57,7 +58,7 @@ jobs: - name: Commit Files if: github.ref == 'refs/heads/main' run: | - NB_PATH=($(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '[.]ipynb$')) + NB_PATH=notebooks/01_classification.ipynb git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" git commit ${NB_PATH[*]} -m "Quarto output" || echo "No changes to commit"