Refactor DTW visualization calls to use 'path' parameter instead of '… #15
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: Build and Deploy Jupyter Book | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: deploy-jupyter-book | |
| cancel-in-progress: false | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Conda environment | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| activate-environment: pytsa | |
| environment-file: env.yml | |
| auto-activate-base: false | |
| - name: Install build tools | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install "jupyter-book<2" ghp-import | |
| - name: Show tool versions | |
| run: | | |
| jupyter-book --version | |
| ghp-import --version | |
| - name: Build Jupyter Book | |
| run: jupyter-book build . --builder html | |
| - name: Verify build output | |
| run: | | |
| test -d _build/html | |
| ls -la _build/html | head -n 20 | |
| - name: Deploy to GitHub Pages | |
| run: ghp-import -n -p -f _build/html |