Skip to content

Commit

Permalink
ci: remove openapi.json build from docs until ci images built
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jul 23, 2024
1 parent ba5597a commit 5368e0d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ on:
workflow_dispatch:

jobs:
build_openapi_json:
uses: hotosm/gh-workflows/.github/workflows/openapi_build.yml@1.6.0
with:
image: ghcr.io/${{ github.repository }}/backend:ci-${{ github.ref_name }}
example_env_file_path: ".env.sample"
output_path: docs/openapi.json
# build_openapi_json:
# uses: hotosm/gh-workflows/.github/workflows/openapi_build.yml@1.6.0
# with:
# image: ghcr.io/${{ github.repository }}/backend:ci-${{ github.ref_name }}
# example_env_file_path: ".env.sample"
# output_path: docs/openapi.json

publish_docs:
uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@1.6.0
needs:
- build_openapi_json
with:
openapi: true
# needs:
# - build_openapi_json
# with:
# openapi: true
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ plugins:

nav:
- Home: index.md
- API Docs: https://hotosm.github.io/swagger/?url=https://hotosm.github.io/drone-tm/openapi.json
# - API Docs: https://hotosm.github.io/swagger/?url=https://hotosm.github.io/drone-tm/openapi.json

0 comments on commit 5368e0d

Please sign in to comment.