Bump the python-packages group across 1 directory with 7 updates #561
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 and deploy the Greenbone Documentation" | |
on: | |
workflow_dispatch: | |
push: | |
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 -b html src _build | |
- name: Upload Documentation Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: greenbone-community-docs | |
path: _build/ | |
deploy-docs: | |
needs: build-docs | |
name: Build Documentation | |
permissions: | |
contents: write | |
id-token: write | |
pages: write | |
uses: ./.github/workflows/deployment.yml | |
with: | |
doc_root: latest | |
artifact_name: greenbone-community-docs |