ci: remove documentation build/publish
All checks were successful
Bump version / Bump version and create changelog with commitizen (push) Successful in 21s

This commit is contained in:
Ulenar of Mondarth 2025-07-14 18:40:52 +00:00
parent 490fc53b00
commit ed0aad6a3c
2 changed files with 0 additions and 57 deletions

View File

@ -1,50 +0,0 @@
name: Build and Deploy Docs
on:
workflow_call:
push:
branches:
- main
paths:
- 'docs/**'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
concurrency:
group: generate-docs
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
attestations: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Extract version from tag without the v
id: get-version
run: echo "v=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
- name: Patch version into docs configuration
id: sub_docs_release
run: sed -i "s/release\s+=.*/release = '${{steps.get-version.outputs.v}}'/" docs/conf.py
- name: Build Documentation
run: |
docker run --rm -v "${{ github.workspace }}/docs":/docs ghcr.io/ulenarofmondarth/sphinx-docs:latest make html
cd ./docs/_build/html
zip -r ${{ github.workspace }}/documentation-${{ github.ref_name }}.zip .
- name: Preserve Documentation
uses: actions/upload-artifact@v4
with:
name: documentation-${{ github.ref_name}}
path: ${{ github.workspace }}/documentation-${{ github.ref_name }}.zip
- name: Deploy Documentation
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html

View File

@ -13,13 +13,7 @@ env:
jobs:
build-documentation:
uses: ./.github/workflows/build-and-deploy-docs.yml
build:
needs:
- build-documentation
runs-on: ubuntu-latest
permissions:
@ -91,7 +85,6 @@ jobs:
body_path: "${{ github.workspace }}/release-${{ github.ref_name }}/release-note.md"
tag_name: ${{ github.ref_name }}
files: |
documentation-${{ github.ref_name }}.zip
module.json
module.zip
env: