Skip to content

Merge branch 'development' of https://github.com/hotosm/fmtm into dev… #66

Merge branch 'development' of https://github.com/hotosm/fmtm into dev…

Merge branch 'development' of https://github.com/hotosm/fmtm into dev… #66

Workflow file for this run

name: 📖 Publish Docs
on:
push:
paths:
- docs/**
- src/**
- mkdocs.yml
branches: [development]
# Allow manual trigger (workflow_dispatch)
workflow_dispatch:
jobs:
build_doxygen:
uses: hotosm/gh-workflows/.github/workflows/doxygen_build.yml@1.2.2
with:
output_path: docs/apidocs
build_openapi_json:
uses: hotosm/gh-workflows/.github/workflows/openapi_build.yml@1.2.2
with:
image: ghcr.io/${{ github.repository }}/backend:ci-${{ github.ref_name }}
example_env_file_path: ".env.example"
output_path: docs/openapi.json
publish_docs:
uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@1.2.2
needs:
- build_doxygen
- build_openapi_json
with:
image: ghcr.io/${{ github.repository }}/backend:ci-${{ github.ref_name }}
doxygen: true
openapi: true