Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
echo no changes to commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Jul 18, 2024
1 parent de06563 commit 24e958b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
path: |
~/.local/share/jupyter/kernels
~/miniconda3/envs
/usr/share/miniconda/envs
key: ${{ runner.os }}-jupyter-${{ hashFiles('chapters/*.yml') }}

- name: Render and Publish
Expand All @@ -48,7 +48,7 @@ jobs:
with:
path: |
~/.local/share/jupyter/kernels
~/miniconda3/envs
/usr/share/miniconda/envs
key: ${{ steps.cache-jupyter-kernels-restore.outputs.cache-primary-key }}

# - name: Cache Binder Build on mybinder.org
Expand All @@ -66,7 +66,7 @@ jobs:
NB_PATH=($(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '[.]ipynb$'))
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit ${RMD_PATH[*]/.ipynb} -m "Quarto output"
git commit ${RMD_PATH[*]/.ipynb} -m "Quarto output" || echo "No changes to commit"
- name: Push Commit
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 24e958b

Please sign in to comment.