docs: link to docs.hotosm.org for dev practices #618
This file contains hidden or 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: 📖 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/[email protected] | |
with: | |
output_path: docs/apidocs | |
build_openapi_json: | |
uses: hotosm/gh-workflows/.github/workflows/[email protected] | |
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/[email protected] | |
needs: | |
- build_doxygen | |
- build_openapi_json | |
with: | |
doxygen: true | |
openapi: true |