Skip to content

Commit

Permalink
read
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Jul 18, 2024
1 parent e2bd705 commit 9abf1b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 9abf1b4

Please sign in to comment.