Remove: Drop mention of obsolete dependency on xml-twig-tools / perl-XML-Twig #958
Workflow file for this run
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 the Greenbone Documentation | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-docs: | |
| name: Build Documentation | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install poetry and dependencies | |
| uses: greenbone/actions/poetry@v3 | |
| - name: Build docs | |
| run: poetry run sphinx-build -W --keep-going -b html src _build | |
| - name: Upload Documentation Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: greenbone-community-docs-from-pr | |
| path: _build/ | |
| deploy-docs: | |
| needs: build-docs | |
| name: Build Documentation | |
| uses: ./.github/workflows/deployment.yml | |
| permissions: | |
| contents: write | |
| id-token: write | |
| pages: write | |
| with: | |
| doc_root: pr/${{ github.head_ref }} | |
| artifact_name: greenbone-community-docs-from-pr |