Bump importlib-resources from 6.0.0 to 6.0.1 #684
Workflow file for this run
This file contains 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@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
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@v3 | |
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 |