Plane change maneuver fixes #196
Workflow file for this run
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: deploy-book | |
| # Only run this when the main branch changes | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| PYDEVD_DISABLE_FILE_VALIDATION: 1 | |
| # This job installs dependencies, builds the book, and pushes it to `gh-pages` | |
| jobs: | |
| deploy-book: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Check the lock file | |
| run: uv lock --check | |
| - name: Install dependencies | |
| run: uv sync --frozen --no-dev --no-editable | |
| # Build the book | |
| - name: Build the book | |
| run: uv run --frozen jupyter-book build -vv -W . | |
| # Push the book's HTML to github-pages | |
| - name: GitHub Pages action | |
| if: github.ref == 'refs/heads/main' | |
| uses: peaceiris/[email protected] | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./_build/html |