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 17, 2024
1 parent f71992d commit ac520f1
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/apiDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,33 +27,33 @@ jobs:
# Redoc : json 파일 join
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'join ./noti.json ./user.json -o ./api.json'
# - name: redoc-cli-github-action
# uses: seeebiii/redoc-cli-github-action@v9
# with:
# args: 'join ./noti.json ./user.json -o ./api.json'

- name : ls
run : |
pwd
ls -all
ls /github/workspace
# - name : ls
# run : |
# pwd
# ls -all
# ls /github/workspace

# Redoc : json 파일 join
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'bundle ./api.json --output ./api.yaml --ext yaml'
args: 'bundle ./noti.json ./user.json ./weather.json --output ./api.yaml --ext yaml'

- name: Rename Yaml Title & Desc
run: |
cat ./api.yaml
yq -i '.info.title = "Waither Backend API Document for FrontEnd"' ./api.yaml
yq -i '.info.description = "Please contact Petstore backend if there are any issues with API"' ./api.yaml
# - name: Rename Yaml Title & Desc
# run: |
# cat ./api.yaml
# yq -i '.info.title = "Waither Backend API Document for FrontEnd"' ./api.yaml
# yq -i '.info.description = "Please contact Petstore backend if there are any issues with API"' ./api.yaml

- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
args: 'build-docs ./api.yaml --output ./index.html'
# - name: redoc-cli-github-action
# uses: seeebiii/redoc-cli-github-action@v9
# with:
# args: 'build-docs ./api.yaml --output ./index.html'

# 웹페이지 Repository에 Push 합니다.
- name: Install SSH Key
Expand Down

0 comments on commit ac520f1

Please sign in to comment.