Skip to content

Commit c1ada4a

Browse files
committed
Always export notebooks in deploy workflow
Remove the prior step that checked whether files under notebooks/ changed and the dependent conditional on the Export notebooks step. The export step now runs unconditionally (no steps.changed usage), simplifying the workflow and ensuring notebooks are exported on all relevant workflow runs.
1 parent 6202cfa commit c1ada4a

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@ jobs:
2020
- name: Install Python deps
2121
run: uv sync
2222

23-
- name: Check if notebooks changed
24-
id: changed
25-
run: |
26-
git diff --name-only HEAD~1 HEAD 2>/dev/null | grep -q '^notebooks/' \
27-
&& echo "notebooks=true" >> $GITHUB_OUTPUT \
28-
|| echo "notebooks=false" >> $GITHUB_OUTPUT
29-
3023
- name: Export notebooks
31-
if: steps.changed.outputs.notebooks == 'true' || github.event_name != 'push'
3224
env:
3325
OSO_API_KEY: ${{ secrets.OSO_API_KEY }}
3426
run: uv run python scripts/export_notebooks.py

0 commit comments

Comments
 (0)