task: update documentation for v25.10.0-rc.1 #86
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: "Build" | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| name: generate-html | |
| runs-on: ubuntu-22.04 | |
| if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main' | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: build | |
| run: make gen-docs | |
| - name: 'upload Artifact' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: generated-html | |
| path: _build/docs/nvidia_network_operator | |
| - name: 'Create PR metadata' | |
| if: github.event_name == 'pull_request' | |
| run: | | |
| mkdir -p pr | |
| echo "${{ github.event.pull_request.number }}" > pr/pr.txt | |
| echo "${{ github.event.pull_request.merged }}" > pr/merged.txt | |
| echo "${{ github.event.action }}" > pr/action.txt | |
| - name: 'Upload PR metadata artifact' | |
| if: github.event_name == 'pull_request' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pr | |
| path: pr |