chore: md refactor #31
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: MERN Sample App - TypeDoc | |
on: | |
push: | |
paths: | |
- "packages/**" | |
branches: | |
- main | |
workflow_dispatch: | |
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 typedoc | |
- name: 🚢 Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |