Skip to content

Commit d7a6fe0

Browse files
committed
Remove files not building as notebook
1 parent 503b04e commit d7a6fe0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/prod.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,25 @@ jobs:
110110
uv run spacy download en_core_web_sm
111111
uv run quarto --version
112112
113-
- name: Prepare directory
113+
- name: Prepare directory (and remove some files failing)
114114
run: |
115115
rm _quarto.yml
116116
cp _quarto-prod.yml _quarto.yml
117-
117+
118+
# Remove files not building in ipynb
119+
rm content/modelisation/index.qmd # Remove file not building in ipynb
120+
rm -rf content/git/ # ignore git chapters
121+
rm content/modelisation/4_featureselection.qmd
122+
rm content/manipulation/04c_API_TP.qmd
123+
rm content/NLP/02_exoclean.qmd
124+
rm content/manipulation/04c_API_TP.qmd
125+
118126
- name: Convert in ipynb with Quarto
119127
env:
120128
API_INPI_USERNAME: ${{ secrets.API_INPI_USERNAME }}
121129
API_INPI_PASSWORD: ${{ secrets.API_INPI_PASSWORD }}
122130
run: |
123131
export QUARTO_PROFILE=fr,en
124-
rm content/modelisation/index.qmd # Remove file not building in ipynb
125-
rm content/annexes/evaluation.qmd # Remove file not building in ipynb
126132
uv run quarto render --profile fr --to ipynb
127133
uv run quarto render --profile en --to ipynb
128134
- name: Move to expected directory

0 commit comments

Comments
 (0)