Merge pull request #276 from thomasthaddeus/dependabot/pip/sphinx-7.4.7 #219
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Convert Notebooks | |
| on: [push] | |
| jobs: | |
| convert: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install Jupyter and nbconvert | |
| run: | | |
| pip install jupyter nbconvert | |
| - name: Convert notebooks to HTML | |
| run: | | |
| for notebook in $(find . -name "*.ipynb"); do | |
| jupyter nbconvert --to html "$notebook" | |
| done | |
| - name: Upload converted notebooks | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: converted-notebooks | |
| path: '**/*.html' |