Skip to content

Build Documentation #81

Build Documentation

Build Documentation #81

Workflow file for this run

name: Build Documentation
on:
workflow_run:
workflows: ["Update JSONLD"]
types:
- completed
workflow_dispatch:
inputs:
force_deploy:
description: 'Force deployment even if no changes detected'
required: false
default: false
type: boolean
jobs:
build-docs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and Deploy MkDocs documentation
uses: WCRP-CMIP/CMIPLD/actions/mkdocs@main
with:
source_branch: ${{ github.ref_name }}
target_branch: production
config_file: '.src/mkdocs/mkdocs.yml'
docs_dir: 'docs'