Update distribution pipeline #52
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: 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 |