update demo notebook #14
This file contains 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: Generate Demo | |
on: | |
pull_request: | |
push: | |
jobs: | |
job: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- run: | | |
jupyter nbconvert --execute --to notebook --inplace ./demo/seqTeleporter_demo.ipynb | |
- run: | | |
jupyter nbconvert ./demo/seqTeleporter_demo.ipynb --to html --output index --output-dir ./docs/ | |
- uses: actions4git/add-commit-push@v1 |