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 2ef56ae commit 50b5689
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/apiDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ jobs:
with:
ref: 'docs/#44'

# - name: move to docs directory
# run: |
# cd ./noti-service/docs

# Redoc : json ํŒŒ์ผ์„ ๊ฐ€์ ธ์™€ bundle
- name: redoc-cli-github-action
uses: seeebiii/redoc-cli-github-action@v9
with:
Expand All @@ -36,24 +33,13 @@ jobs:
# with:
# args: 'build-docs ./noti-serivce/docs/noti.yaml --output ./noti-serivce/docs/api-docs.html'

# ์™„์„ฑ๋œ html ํŒŒ์ผ์„ docs ๋””๋ ‰ํ† ๋ฆฌ์— ๋†“์Šต๋‹ˆ๋‹ค.
- name: save build result to tmp dir
run: |
mkdir -p docs
mv ./noti-service/docs/index.html ./docs
- name: Install SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}

# - name: Commit and push build artifacts
# run: |
# git config --global user.name "DDonghyeo"
# git config --global user.email "[email protected]"
# git add .
# git commit -m "๐Ÿ“docs : Generate API Docs"
# git push https://[email protected]/WaitherTeam/Waither-BE.git HEAD:apiDocs

# ์›นํŽ˜์ด์ง€ Repository์— Push ํ•ฉ๋‹ˆ๋‹ค.
- name: Install SSH Key
uses: leigholiver/[email protected]
with:
Expand Down

0 comments on commit 50b5689

Please sign in to comment.