diff --git a/.github/workflows/jsdoc.yaml b/.github/workflows/jsdoc.yaml new file mode 100644 index 0000000..562103b --- /dev/null +++ b/.github/workflows/jsdoc.yaml @@ -0,0 +1,26 @@ +name: JSDoc to GH Pages + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: Build + uses: andstor/jsdoc-action@v1 + with: + source_dir: ./frontend-next + output_dir: ./jsdoc + template: minami + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./jsdoc \ No newline at end of file