Skip to content

Bump the github-actions group with 2 updates #641

Bump the github-actions group with 2 updates

Bump the github-actions group with 2 updates #641

Workflow file for this run

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@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install uv
uses: greenbone/actions/uv@v3
- name: Build docs
run: uv run sphinx-build -b html src _build
- name: Upload Documentation Artifact
uses: actions/upload-artifact@v6
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