Skip to content

Merge global_ into global_options. #1

Merge global_ into global_options.

Merge global_ into global_options. #1

Workflow file for this run

name: docs
on:
push:
branches: [main]
workflow_dispatch:
permissions:
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build package in Docker
run: |
docker build --target psg \
--build-arg SUITESPARSE=v$(cat GB_VERSION.txt) \
--build-arg VERSION=99.0.0.0 \
--build-arg COMPACT=1 \
-t psg-docs .
- name: Generate docs with pdoc
run: |
docker run --rm -v ${{ github.workspace }}/site:/out psg-docs \
bash -c "pip install --break-system-packages -q pdoc && \
pdoc --output-directory /out --no-show-source --docformat numpy \
suitesparse_graphblas.api"
- uses: actions/upload-pages-artifact@v3
with:
path: site/
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment