diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 19379bd..28fd8a7 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -102,6 +102,7 @@ jobs: cp ./_toc.yml ./pythia/ cp ./Makefile ./pythia/ cp -R ./notebooks/. ./pythia/notebooks/ + rm -f ./notebooks/references.ipynb cd ./pythia git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" @@ -125,7 +126,8 @@ jobs: python src/eo_datascience/clean_nb.py cp ./_toc.yml ./pythia/ cp ./Makefile ./pythia/ - cp -R !(./notebooks/references.ipynb) ./pythia/notebooks/ + cp -R ./notebooks/. ./pythia/notebooks/ + rm -f ./notebooks/references.ipynb cd ./pythia git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"