Merge pull request #343 from EscolaLMS/feature/consultations #315
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: Generate TypeScript Documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
swagger-gh-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Instantiate package | |
uses: actions/checkout@v2 | |
- name: Install typedoc | |
run: yarn add typedoc@^0.23.28 | |
- name: Generate typedoc | |
run: yarn typedoc src/index.ts --plugin typedoc-plugin-missing-exports --out build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: build |