From c8518e0f36b053ed913908397451f5436d5f4d70 Mon Sep 17 00:00:00 2001 From: ArthurDeclercq Date: Wed, 16 Sep 2026 11:44:48 +0200 Subject: [PATCH] Remove redundant notebook-to-HTML workflow convert-notebooks.yml pushed generated HTML directly to main, which the branch ruleset rejects (changes must go through a PR). The push was also unnecessary: deploy.yml already runs nbconvert at render time, so the live site builds notebook HTML from source on every deploy. Removing the workflow eliminates the failing job with no effect on the published site. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/convert-notebooks.yml | 39 ------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/convert-notebooks.yml diff --git a/.github/workflows/convert-notebooks.yml b/.github/workflows/convert-notebooks.yml deleted file mode 100644 index 55a264e..0000000 --- a/.github/workflows/convert-notebooks.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Convert Notebooks to HTML - -on: - push: - branches: [main] - paths: - - "tutorials/notebooks/*.ipynb" - workflow_dispatch: - -permissions: - contents: write - -jobs: - convert: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Install nbconvert - run: pip install nbconvert - - - name: Convert notebooks to HTML - run: | - find tutorials/notebooks -name "*.ipynb" | while read nb; do - echo "Converting $nb" - jupyter nbconvert --to html --embed-images "$nb" - done - - - name: Commit generated HTML - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add tutorials/notebooks/*.html - git diff --staged --quiet || git commit -m "auto: convert notebooks to HTML [skip ci]" - git push