diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 8d8a195..68e2c13 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -79,7 +79,9 @@ jobs: run: | python src/render_sfinx_toc.py cp ./_toc.yml ./pythia/ - cp ./notebooks/*.ipynb ./pythia/notebooks/ + cp ./Makefile ./pythia/ + cp ./chapters/*.yml ./pythia/notebooks/ + cp -R ./notebooks/*.ipynb ./pythia/notebooks/ cd ./pythia git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" diff --git a/Makefile b/Makefile index a50f195..9589654 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .ONESHELL: SHELL = /bin/bash .PHONY: help clean environment kernel post-render data -YML = $(wildcard chapters/*.yml) +YML = $(wildcard notebooks/*.yml) QMD = $(wildcard chapters/*.qmd) REQ = $(basename $(notdir $(YML))) CONDA_ENV_DIR := $(foreach i,$(REQ),$(shell conda info --base)/envs/$(i)) diff --git a/chapters/01_classification.yml b/notebooks/01_classification.yml similarity index 100% rename from chapters/01_classification.yml rename to notebooks/01_classification.yml diff --git a/chapters/02_floodmapping.yml b/notebooks/02_floodmapping.yml similarity index 100% rename from chapters/02_floodmapping.yml rename to notebooks/02_floodmapping.yml