Adding nanobind as dependency for gt4py - 2 #823
Workflow file for this run
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
# .github/workflows/preview.yml | |
name: Deploy PR previews | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- closed | |
concurrency: preview-${{ github.ref }} | |
jobs: | |
deploy-preview: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build docs | |
uses: C2SM/sphinx-action@sphinx-latest | |
with: | |
pre-build-command: "pip install sphinx_rtd_theme && pip install sphinx-copybutton" | |
build-command: "sphinx-build -b html . _build" | |
docs-folder: "docs/" | |
- name: Deploy preview | |
uses: rossjrw/pr-preview-action@v1 | |
with: | |
source-dir: docs/_build | |
preview-branch: gh-pages | |
umbrella-dir: pr-preview | |
action: auto |