Skip to content

Commit

Permalink
fix(api-doc): Fix list of APIs file generation (#76)
Browse files Browse the repository at this point in the history
* fix(api-doc): Fix list of APIs file generation

Closes: MRSPECS-56
  • Loading branch information
mukhiddin-yusuf authored Sep 30, 2024
1 parent b152288 commit 7450014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/api-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
working-directory: ${{ env.OUTPUT_DIR }}
run: ls -R
- name: Fix dead link
run: sed -i 's!"${{ env.API_DIRECTORIES }}/openapi.yaml"!"${{ env.API_INPUT_SPEC }}"!' */config-doc.json
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]
Expand Down

0 comments on commit 7450014

Please sign in to comment.