Skip to content

Update distribution pipeline #52

Update distribution pipeline

Update distribution pipeline #52

name: Test build documentation
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
- develop
jobs:
build-docs:
if: github.event.pull_request.draft == false
name: Build documentation
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/install_eitprocessing
with:
dependencies: docs
extract-data: false
python-version: "3.10"
- name: Build documentation
run: mkdocs build
- name: Deploy documentation
if: ${{ github.event.action == 'push' && github.action_ref == 'main' }}
run: mkdocs gh-deploy