Skip to content

Commit

Permalink
Docs CI improvements (#41)
Browse files Browse the repository at this point in the history
* Deploy built docs to Github pages
* Use cpu4 nodes for all builds
* Bump version to 0.0.14
  • Loading branch information
gmarkall authored Aug 9, 2024
1 parent 015d236 commit 506ec1a
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conda-python-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
type: string
node_type:
type: string
default: "cpu8"
default: "cpu4"
script:
type: string
default: "ci/build_python.sh"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docs-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
type: string
node_type:
type: string
default: "cpu8"
default: "cpu4"
script:
type: string
default: "ci/build_docs.sh"
Expand Down Expand Up @@ -75,3 +75,7 @@ jobs:
with:
name: docs
path: ${{ github.workspace }}/docs/build/html
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build/html
21 changes: 21 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,24 @@ jobs:
script: "ci/build_wheel.sh"
matrix_filter: ${{ needs.compute-matrix.outputs.BUILD_MATRIX }}
upload_to_pypi: true
build-docs:
needs:
- build-conda
uses: ./.github/workflows/docs-build.yaml
with:
build_type: release
deploy-docs:
needs: build-docs
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .github/workflows/wheels-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
node_type:
required: false
type: string
default: "cpu8"
default: "cpu4"

# general settings
matrix_filter:
Expand Down
2 changes: 1 addition & 1 deletion numba_cuda/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.13
0.0.14

0 comments on commit 506ec1a

Please sign in to comment.