Merge global_ into global_options. #1
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: 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 |