From 50b5689fcfebf3dee8787fae258f96defbb156cd Mon Sep 17 00:00:00 2001 From: Kim Dong Hyun <98632435+DDonghyeo@users.noreply.github.com> Date: Thu, 9 May 2024 22:34:35 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9Ddocs=20:=20api=20docs=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/apiDocs.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/apiDocs.yml b/.github/workflows/apiDocs.yml index 60c63867..f414aa6a 100644 --- a/.github/workflows/apiDocs.yml +++ b/.github/workflows/apiDocs.yml @@ -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: @@ -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/ssh-agent@v0.5.0 - 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 "gsu9045000@gmail.com" - # git add . - # git commit -m "📝docs : Generate API Docs" - # git push https://git@github.com/WaitherTeam/Waither-BE.git HEAD:apiDocs - + # 웹페이지 Repository에 Push 합니다. - name: Install SSH Key uses: leigholiver/commit-with-deploy-key@v1.0.4 with: