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

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchobben committed Jul 18, 2024
1 parent 24e958b commit a382d20
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo $(conda info --base)

- name: Cache Jupyter Kernels
id: cache-jupyter-kernels-save
Expand All @@ -58,15 +56,13 @@ jobs:
# MYBINDERORG_TAG: ${{ github.event.ref }}
# REPO2DOCKER_EXTRA_ARGS: --subdir notebooks

- run: echo $(ls $(pwd)/notebooks)

- name: Commit Files
if: github.ref == 'refs/heads/main'
run: |
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" || echo "No changes to commit"
git commit ${NB_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 a382d20

Please sign in to comment.