chore(redfish.py): bump __version__ for the SessionTimeout bound #370
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: 'Linuxfabrik: Deploy API Documentation' | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| # The release commit carries `[skip ci]`, so the push trigger above never fires | |
| # for it and a release used to leave the published documentation one commit | |
| # behind until some later push happened to rebuild it. | |
| release: | |
| types: | |
| - 'published' | |
| permissions: | |
| contents: 'read' | |
| pages: 'write' | |
| id-token: 'write' | |
| concurrency: | |
| group: 'pages' | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: 'ubuntu-latest' | |
| steps: | |
| - name: 'Harden the runner (Audit all outbound calls)' | |
| uses: 'step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1' # v2.21.1 | |
| with: | |
| egress-policy: 'audit' | |
| - name: 'Checkout repository' | |
| uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' # v7.0.1 | |
| - name: 'Set up Python' | |
| uses: 'actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97' # v7.0.0 | |
| with: | |
| python-version: '3.12' | |
| - name: 'Install dependencies' | |
| run: | | |
| pip install --editable . | |
| pip install pdoc==16.0.0 | |
| - name: 'Build documentation' | |
| run: 'pdoc --docformat numpy --output-directory docs lib' | |
| - name: 'Add .nojekyll' | |
| run: 'touch docs/.nojekyll' | |
| - name: 'Upload Pages artifact' | |
| uses: 'actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9' # v5.0.0 | |
| with: | |
| path: 'docs' | |
| deploy: | |
| needs: 'build' | |
| runs-on: 'ubuntu-latest' | |
| environment: | |
| name: 'github-pages' | |
| url: '${{ steps.deployment.outputs.page_url }}' | |
| steps: | |
| - name: 'Harden the runner (Audit all outbound calls)' | |
| uses: 'step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1' # v2.21.1 | |
| with: | |
| egress-policy: 'audit' | |
| - name: 'Deploy to GitHub Pages' | |
| id: 'deployment' | |
| uses: 'actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346' # v5.0.1 |