Skip to content

Commit

Permalink
fix(api-docs): fix dead link in config-doc.json (#332)
Browse files Browse the repository at this point in the history
Closes: MODELINKS-254
  • Loading branch information
mukhiddin-yusuf authored Oct 7, 2024
1 parent 3161f7d commit 029dde0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/api-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ jobs:
- name: Show generated files
working-directory: ${{ env.OUTPUT_DIR }}
run: ls -R
- name: Fix dead link
run: jq '.config.oas.files[] |= if . == "${{ env.API_DIRECTORIES }}/openapi.yaml" then "${{ env.API_INPUT_SPEC }}" else . end' */config-doc.json > tmp.json && mv tmp.json */config-doc.json
working-directory: ${{ env.OUTPUT_DIR }}
- name: Publish to AWS S3
uses: sai-sharan/[email protected]
with:
Expand Down

0 comments on commit 029dde0

Please sign in to comment.