Add swagger impl for backend api #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish TypeDoc-generated docs | |
on: | |
push: | |
paths: | |
- "packages/**" | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛒 Checkout Repository | |
uses: actions/checkout@v4 | |
- name: 🤳 Install | |
uses: ./.github/composite-actions/install | |
- name: 🔥 Generate documentation | |
run: pnpm run root:typedoc | |
- name: 🚢 Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |