Skip to content

Commit

Permalink
📝docs : api docs 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DDonghyeo authored May 9, 2024
1 parent 8535308 commit 78922c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/apiDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ jobs:
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'bundle noti.json --output noti.yaml --ext yaml'
args: 'bundle ./noti.json --output ./noti.yaml --ext yaml'

- name: Rename Yaml Title & Desc
run: |
yq -i '.info.title = "PetStore Backend API Document for FrontEnd"' fe.yaml
yq -i '.info.description = "Please contact Petstore backend if there are any issues with API"' fe.yaml
yq -i '.info.title = "PetStore Backend API Document for FrontEnd"' ./noti.yaml
yq -i '.info.description = "Please contact Petstore backend if there are any issues with API"' ./noti.yaml
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'build-docs noti.yaml --output api-docs.html'
args: 'build-docs ./noti.yaml --output ./api-docs.html'

- name: save build result to tmp dir
run: |
cd ..
cd ../..
mkdir -p docs
mv ./noti-service/api-docs.html .
Expand Down

0 comments on commit 78922c5

Please sign in to comment.